Mercurial > hg > nginx
diff src/event/quic/ngx_event_quic_transport.c @ 8797:4715f3e669f1 quic
QUIC: updated specification references.
This includes updating citations and further clarification.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 16 Jun 2021 11:55:12 +0300 |
parents | 81d491f0dc8c |
children | 4009f120cad4 |
line wrap: on
line diff
--- a/src/event/quic/ngx_event_quic_transport.c Fri Jun 11 13:24:24 2021 +0300 +++ b/src/event/quic/ngx_event_quic_transport.c Wed Jun 16 11:55:12 2021 +0300 @@ -1127,7 +1127,11 @@ { uint8_t ptype; - /* frame permissions per packet: 4 bits: IH01: 12.4, Table 3 */ + /* + * RFC 9000, 12.4. Frames and Frame Types: Table 3 + * + * Frame permissions per packet: 4 bits: IH01 + */ static uint8_t ngx_quic_frame_masks[] = { /* PADDING */ 0xF, /* PING */ 0xF, @@ -1242,9 +1246,9 @@ ngx_quic_create_frame(u_char *p, ngx_quic_frame_t *f) { /* - * QUIC-recovery, section 2: + * RFC 9002, 2. Conventions and Definitions * - * Ack-eliciting Frames: All frames other than ACK, PADDING, and + * Ack-eliciting frames: All frames other than ACK, PADDING, and * CONNECTION_CLOSE are considered ack-eliciting. */ f->need_ack = 1;