Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic_transport.c @ 7789:853908b5a216 quic
Added a bit more debugging in STREAM frame parser.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 06 Apr 2020 11:17:14 +0300 |
parents | fdda518d10ba |
children | 1cdd53532309 |
comparison
equal
deleted
inserted
replaced
7788:d9bc33166361 | 7789:853908b5a216 |
---|---|
834 | 834 |
835 p = ngx_quic_read_bytes(p, end, f->u.stream.length, | 835 p = ngx_quic_read_bytes(p, end, f->u.stream.length, |
836 &f->u.stream.data); | 836 &f->u.stream.data); |
837 if (p == NULL) { | 837 if (p == NULL) { |
838 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, | 838 ngx_log_error(NGX_LOG_INFO, pkt->log, 0, |
839 "failed to parse stream frame data"); | 839 "failed to parse stream frame data len=%ui " |
840 "offset=%ui", f->u.stream.length, f->u.stream.offset); | |
840 return NGX_ERROR; | 841 return NGX_ERROR; |
841 } | 842 } |
842 | 843 |
843 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, pkt->log, 0, | 844 ngx_log_debug7(NGX_LOG_DEBUG_EVENT, pkt->log, 0, |
844 "STREAM frame { 0x%xi id 0x%xi offset 0x%xi " | 845 "STREAM frame { 0x%xi id 0x%xi offset 0x%xi " |