Response to client logging

Dario Lombardo at
Tue Jun 3 15:49:27 UTC 2014

What I have around client.c:1138 is that client->message->buffer ==
0x0. What does it mean? Do I have to call something to have it
populated? I can't find sizes (no matter if message size, udp size or
ip size) in any structure at this point in the code.

On Tue, Jun 3, 2014 at 10:32 AM, Tony Finch <dot at> wrote:
> Dario Lombardo < at> wrote:
>> The answer is yes, I had a look at it and I have found all that the
>> info I needed, except 1: the size of the packet. Any clue?
> client->message is the internal form of the response. This gets turned
> into wire format by a series of calls to various dns_message_render
> functions. The message is rendered into a buffer which keeps track of the
> size. See the calls to isc_buffer_usedregion() in client_send() and
> client_sendpkg().
> Tony.
> --
> f.anthony.n.finch  <dot at>
> Viking: Southeasterly 4 or 5, occasionally 3 in northeast. Slight or moderate.
> Mainly fair. Moderate or good.

More information about the bind-workers mailing list