summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_transport.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-06-16 11:55:12 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-06-16 11:55:12 +0300
commitae58d87c0151551a269b2b00697c1deb607de11e (patch)
tree0f436e30a36362789ec3f735a770031e78621abc /src/event/quic/ngx_event_quic_transport.c
parent96e1db1c34a0c206463b86fb3400545f0147f476 (diff)
downloadnginx-ae58d87c0151551a269b2b00697c1deb607de11e.tar.gz
nginx-ae58d87c0151551a269b2b00697c1deb607de11e.tar.bz2
QUIC: updated specification references.
This includes updating citations and further clarification.
Diffstat (limited to 'src/event/quic/ngx_event_quic_transport.c')
-rw-r--r--src/event/quic/ngx_event_quic_transport.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/event/quic/ngx_event_quic_transport.c b/src/event/quic/ngx_event_quic_transport.c
index c13155c55..894595fbc 100644
--- a/src/event/quic/ngx_event_quic_transport.c
+++ b/src/event/quic/ngx_event_quic_transport.c
@@ -1127,7 +1127,11 @@ ngx_quic_frame_allowed(ngx_quic_header_t *pkt, ngx_uint_t frame_type)
{
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 @@ ssize_t
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;