Mercurial > hg > nginx
comparison src/event/quic/ngx_event_quic.h @ 8783:60c6e8d8d3ae quic
QUIC: make sure stream data size is lower than final size.
As per quic-transport 34, FINAL_SIZE_ERROR is generated if an endpoint received
a STREAM frame or a RESET_STREAM frame containing a final size that was lower
than the size of stream data that was already received.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Tue, 25 May 2021 16:41:59 +0300 |
parents | b3f6ad181df4 |
children | f0882db8c8d4 |
comparison
equal
deleted
inserted
replaced
8782:b3f6ad181df4 | 8783:60c6e8d8d3ae |
---|---|
77 uint64_t id; | 77 uint64_t id; |
78 uint64_t acked; | 78 uint64_t acked; |
79 uint64_t send_max_data; | 79 uint64_t send_max_data; |
80 uint64_t recv_max_data; | 80 uint64_t recv_max_data; |
81 uint64_t recv_offset; | 81 uint64_t recv_offset; |
82 uint64_t recv_last; | |
82 uint64_t final_size; | 83 uint64_t final_size; |
83 ngx_chain_t *in; | 84 ngx_chain_t *in; |
84 ngx_uint_t cancelable; /* unsigned cancelable:1; */ | 85 ngx_uint_t cancelable; /* unsigned cancelable:1; */ |
85 }; | 86 }; |
86 | 87 |