///< populated when event_list_set callback is run which doesn't
///< happen if the short cut is taken.
+ bool read_hexdump; //!< Do we debug hexdump packets as they're read.
+ bool write_hexdump; //!< Do we debug hexdump packets as they're written.
+
size_t default_message_size; //!< copied from app_io, but may be changed
size_t num_messages; //!< for the message ring buffer
};
s->cd = NULL;
DEBUG3("Read %zd byte(s) from FD %u", data_size, sockfd);
+ if (s->listen->read_hexdump) HEXDUMP2(cd->m.data, data_size, "%s read ", s->listen->name);
nr->stats.in++;
s->stats.in++;
int rcode;
fr_assert(li == cd->listen);
+ if (li->write_hexdump) HEXDUMP2(cd->m.data, cd->m.data_size, "%s writing ", li->name);
rcode = li->app_io->write(li, cd->packet_ctx,
cd->reply.request_time,
cd->m.data, cd->m.data_size, s->written);