Response to client logging

Dario Lombardo dario.lombardo.ml at gmail.com
Wed Jun 4 12:25:42 UTC 2014


Thanks Mark, I've found exactly what I was looking for.

On Wed, Jun 4, 2014 at 10:59 AM, Mark Andrews <marka at isc.org> wrote:
>
> In message <CAOYJJfsgRWTGxzr1GK1Pf6yCR2mGrmL34N9vKpQ6ceYRcsEn7Q at mail.gmail.com>
> , Dario Lombardo writes:
>> On Tue, Jun 3, 2014 at 6:12 PM, Tony Finch <dot at dotat.at> wrote:
>> > If you look at lines 1112 - 1118 you'll see the buffer containing the
>> > rendered message passed to client_sendpkg(), and in the TCP case the
>> > length of the response is inserted at the start.
>>
>> If I print buffer.length around line 1112, what I get is always 512 or
>> 4096. That is not what I expected. I expected the len of the message,
>> that could change in every query/response.
>
> See isc_buffer_usedlength.
> See lib/isc/include/isc/buffer.h
>
>
>
>> _______________________________________________
>> bind-workers mailing list
>> bind-workers at lists.isc.org
>> https://lists.isc.org/mailman/listinfo/bind-workers
> --
> Mark Andrews, ISC
> 1 Seymour St., Dundas Valley, NSW 2117, Australia
> PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org


More information about the bind-workers mailing list