comparison src/event/ngx_event_quic.c @ 8525:64a484fd40a9 quic

QUIC: stripped down debug traces that have served its purpose. The most observable remainers are incoming packet and stream payload that could still be useful to debug various QUIC and HTTP/3 frames.
author Sergey Kandaurov <pluknet@nginx.com>
date Fri, 21 Aug 2020 14:41:41 +0300
parents 0609ea17ca23
children 11fc65261689
comparison
equal deleted inserted replaced
8524:c5a894bd4f53 8525:64a484fd40a9
3649 3649
3650 if (ngx_quic_encrypt(&pkt, ssl_conn, &res) != NGX_OK) { 3650 if (ngx_quic_encrypt(&pkt, ssl_conn, &res) != NGX_OK) {
3651 return NGX_ERROR; 3651 return NGX_ERROR;
3652 } 3652 }
3653 3653
3654 #ifdef NGX_QUIC_DEBUG_PACKETS
3655 ngx_quic_hexdump(c->log, "quic packet to send", res.data, res.len);
3656 #endif
3657
3658 len = c->send(c, res.data, res.len); 3654 len = c->send(c, res.data, res.len);
3659 if (len == NGX_ERROR || (size_t) len != res.len) { 3655 if (len == NGX_ERROR || (size_t) len != res.len) {
3660 return NGX_ERROR; 3656 return NGX_ERROR;
3661 } 3657 }
3662 3658