- Log ip address when http session recv fails, eg. due to tls fail.

This commit is contained in:
W.C.A. Wijngaards 2020-10-19 11:06:55 +02:00
parent ca6e8ec6c2
commit ab9d732796
2 changed files with 6 additions and 2 deletions

View file

@ -8,6 +8,7 @@
and the dohclient test code has the -n option. and the dohclient test code has the -n option.
- Fix python documentation warning on functions.rst inplace_cb_reply. - Fix python documentation warning on functions.rst inplace_cb_reply.
- Fix dnstap test to wait for log timer to see if queries are logged. - Fix dnstap test to wait for log timer to see if queries are logged.
- Log ip address when http session recv fails, eg. due to tls fail.
16 October 2020: Wouter 16 October 2020: Wouter
- Fix that the out of order TCP processing does not limit the - Fix that the out of order TCP processing does not limit the

View file

@ -2449,8 +2449,11 @@ comm_point_http2_handle_read(int ATTR_UNUSED(fd), struct comm_point* c)
if(ret) { if(ret) {
if(ret != NGHTTP2_ERR_EOF && if(ret != NGHTTP2_ERR_EOF &&
ret != NGHTTP2_ERR_CALLBACK_FAILURE) { ret != NGHTTP2_ERR_CALLBACK_FAILURE) {
verbose(VERB_QUERY, "http2: session_recv failed, " char a[256];
"error: %s", nghttp2_strerror(ret)); addr_to_str(&c->repinfo.addr, c->repinfo.addrlen,
a, sizeof(a));
verbose(VERB_QUERY, "http2: session_recv from %s failed, "
"error: %s", a, nghttp2_strerror(ret));
} }
return 0; return 0;
} }