aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2020-02-28 13:09:51 +0300
committerSergey Kandaurov <pluknet@nginx.com>2020-02-28 13:09:51 +0300
commitb77c2d00b57233a87350dedbe44897fcb0b7adf1 (patch)
tree5620ca21296ee1032e53779aa00469a37fdae812 /src/http/ngx_http_request.c
parentf03fe916636c25bfe6ac9a63b48f28f4bfaa72b2 (diff)
downloadnginx-b77c2d00b57233a87350dedbe44897fcb0b7adf1.tar.gz
nginx-b77c2d00b57233a87350dedbe44897fcb0b7adf1.zip
QUIC set_encryption_secrets callback.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index bc4f2a13b..85b6835ee 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -783,8 +783,8 @@ ngx_http_quic_handshake(ngx_event_t *rev)
uint64_t plen = ngx_quic_parse_int(&b->pos);
/* draft-ietf-quic-tls-23#section-5.4.2:
* the Packet Number field is assumed to be 4 bytes long
- * draft-ietf-quic-tls-23#section-5.4.3:
- * AES-Based header protection samples 16 bytes
+ * draft-ietf-quic-tls-23#section-5.4.[34]:
+ * AES-Based and ChaCha20-Based header protections sample 16 bytes
*/
u_char *sample = b->pos + 4;