Mercurial > hg > nginx-quic
comparison src/event/ngx_event_quic.c @ 8174:27e305834078 quic
QUIC: changed STREAM frame debugging.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 27 Oct 2020 18:21:36 +0000 |
parents | 3d79c08bb0f1 |
children | 64405f970f6f |
comparison
equal
deleted
inserted
replaced
8173:3d79c08bb0f1 | 8174:27e305834078 |
---|---|
472 case NGX_QUIC_FT_STREAM4: | 472 case NGX_QUIC_FT_STREAM4: |
473 case NGX_QUIC_FT_STREAM5: | 473 case NGX_QUIC_FT_STREAM5: |
474 case NGX_QUIC_FT_STREAM6: | 474 case NGX_QUIC_FT_STREAM6: |
475 case NGX_QUIC_FT_STREAM7: | 475 case NGX_QUIC_FT_STREAM7: |
476 | 476 |
477 p = ngx_slprintf(p, last, | 477 p = ngx_slprintf(p, last, "STREAM id:0x%xL", f->u.stream.stream_id); |
478 "STREAM type:0x%xi id:0x%xL offset:0x%xL " | 478 |
479 "len:0x%xL bits off:%d len:%d fin:%d", | 479 if (f->u.stream.off) { |
480 f->type, f->u.stream.stream_id, f->u.stream.offset, | 480 p = ngx_slprintf(p, last, " off:%uL", f->u.stream.offset); |
481 f->u.stream.length, f->u.stream.off, f->u.stream.len, | 481 } |
482 f->u.stream.fin); | 482 |
483 if (f->u.stream.len) { | |
484 p = ngx_slprintf(p, last, " len:%uL", f->u.stream.length); | |
485 } | |
486 | |
487 if (f->u.stream.fin) { | |
488 p = ngx_slprintf(p, last, " fin:1"); | |
489 } | |
490 | |
483 break; | 491 break; |
484 | 492 |
485 case NGX_QUIC_FT_MAX_DATA: | 493 case NGX_QUIC_FT_MAX_DATA: |
486 p = ngx_slprintf(p, last, "MAX_DATA max_data:%uL on recv", | 494 p = ngx_slprintf(p, last, "MAX_DATA max_data:%uL on recv", |
487 f->u.max_data.max_data); | 495 f->u.max_data.max_data); |