mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Merge pull request #208 from NLnetLabs/bugfix/dnstap-client-response-on-stateful-transports
Fix uncached CLIENT_RESPONSE'es on stateful transports
This commit is contained in:
commit
5cb93eb7e1
1 changed files with 4 additions and 1 deletions
|
|
@ -3157,7 +3157,10 @@ comm_point_send_reply(struct comm_reply *repinfo)
|
|||
if(repinfo->c->tcp_parent->dtenv != NULL &&
|
||||
repinfo->c->tcp_parent->dtenv->log_client_response_messages)
|
||||
dt_msg_send_client_response(repinfo->c->tcp_parent->dtenv,
|
||||
&repinfo->addr, repinfo->c->type, repinfo->c->buffer);
|
||||
&repinfo->addr, repinfo->c->type,
|
||||
( repinfo->c->tcp_req_info
|
||||
? repinfo->c->tcp_req_info->spool_buffer
|
||||
: repinfo->c->buffer ));
|
||||
#endif
|
||||
if(repinfo->c->tcp_req_info) {
|
||||
tcp_req_info_send_reply(repinfo->c->tcp_req_info);
|
||||
|
|
|
|||
Loading…
Reference in a new issue