aboutsummaryrefslogtreecommitdiff
path: root/src/http/v3/ngx_http_v3_request.c
diff options
context:
space:
mode:
authorVladimir Homutov <vl@nginx.com>2020-03-19 17:07:12 +0300
committerVladimir Homutov <vl@nginx.com>2020-03-19 17:07:12 +0300
commit18ce6d5ebfcf619c103994dd38278014ec01506c (patch)
tree9c806e35e14809bec63b0b374bf23b97c36b7846 /src/http/v3/ngx_http_v3_request.c
parent4cbfc073942d6fd2ef4ef69d252687b12fe5687c (diff)
downloadnginx-18ce6d5ebfcf619c103994dd38278014ec01506c.tar.gz
nginx-18ce6d5ebfcf619c103994dd38278014ec01506c.zip
Added boundaries checks into frame parser.
The ngx_quic_parse_frame() functions now has new 'pkt' argument: the packet header of a currently processed frame. This allows to log errors/debug closer to reasons and perform additional checks regarding possible frame types. The handler only performs processing of good frames. A number of functions like read_uint32(), parse_int[_multi] probably should be implemented as a macro, but currently it is better to have them as functions for simpler debugging.
Diffstat (limited to 'src/http/v3/ngx_http_v3_request.c')
0 files changed, 0 insertions, 0 deletions