[prev in list] [next in list] [prev in thread] [next in thread] 

List:       unbound-users
Subject:    Re: Unbound 1.13.0rc2 pre-release
From:       Wouter Wijngaards via Unbound-users <unbound-users () lists ! nlnetlabs ! nl>
Date:       2020-11-27 8:10:18
Message-ID: 51a3d642-eb85-b998-ffc3-9ab95db196c2 () nlnetlabs ! nl
[Download RAW message or body]

Hi Andreas,

On 27/11/2020 00:13, A. Schulze via Unbound-users wrote:
> 
> 
> Am 26.11.20 um 23:25 schrieb Yuri via Unbound-users:
> > I've uses Firefox as DoH client on my infrastructure ;)
> I'm focused on automated testing...
> 
> just found ~unbound-source/testcode/dohclient.c
> looks like I found what I was looking for :-)
> 
> # make dohlient
> # ./dohclient -s 9.9.9.9 -p 443 -P -e /dns-query nlnetlabs.nl. A IN

Yes that is a test client, a bit like streamtcp.

> 
> cool!
> 
> 
> and finally: a compile time warning:

Fixed!  Thanks for the report, that warning does not show up for me, but
it does for you.  Good to fix.

Best regards, Wouter

> 
> services/listen_dnsport.c: In function 'http2_submit_dns_response':
> services/listen_dnsport.c:2211:41: warning: format '%u' expects argument of type \
> 'unsigned int', but argument 4 has type 'size_t' {aka 'long unsigned int'} \
> [-Wformat=] 2211 |  snprintf(rlen_str, sizeof(rlen_str), "%u", rlen);
> > ~^   ~~~~
> > > > 
> > > size_t {aka long unsigned int}
> > unsigned int
> > %lu
> 
> Andreas
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic