Mercurial > hg > nginx
changeset 8424:c70446e3d771 quic
Treat receipt of NEW_TOKEN as connection error PROTOCOL_VIOLATION.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 05 Jun 2020 13:20:02 +0300 |
parents | 833898b35b24 |
children | 3e38dad3a163 |
files | src/event/ngx_event_quic.c src/event/ngx_event_quic_transport.c |
diffstat | 2 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/event/ngx_event_quic.c Tue Jun 02 15:59:14 2020 +0300 +++ b/src/event/ngx_event_quic.c Fri Jun 05 13:20:02 2020 +0300 @@ -1948,7 +1948,6 @@ case NGX_QUIC_FT_NEW_CONNECTION_ID: case NGX_QUIC_FT_RETIRE_CONNECTION_ID: - case NGX_QUIC_FT_NEW_TOKEN: case NGX_QUIC_FT_RESET_STREAM: case NGX_QUIC_FT_STOP_SENDING: case NGX_QUIC_FT_PATH_CHALLENGE:
--- a/src/event/ngx_event_quic_transport.c Tue Jun 02 15:59:14 2020 +0300 +++ b/src/event/ngx_event_quic_transport.c Fri Jun 05 13:20:02 2020 +0300 @@ -1048,7 +1048,7 @@ /* RESET_STREAM */ 0x3, /* STOP_SENDING */ 0x3, /* CRYPTO */ 0xD, - /* NEW_TOKEN */ 0x1, + /* NEW_TOKEN */ 0x0, /* only sent by server */ /* STREAM0 */ 0x3, /* STREAM1 */ 0x3, /* STREAM2 */ 0x3,