summaryrefslogtreecommitdiffhomepage
path: root/src/http/v3/ngx_http_v3_parse.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-07-08HTTP/3: bulk parse functions.Roman Arutyunyan1-3/+3
Previously HTTP/3 streams were parsed by one character. Now all parse functions receive buffers. This should optimize parsing time and CPU load.
2021-07-01HTTP/3: quic-qpack term updates.Sergey Kandaurov1-7/+7
Renamed header -> field per quic-qpack naming convention, in particular: - Header Field -> Field Line - Header Block -> (Encoded) Field Section - Without Name Reference -> With Literal Name - Header Acknowledgement -> Section Acknowledgment
2021-05-05HTTP/3: moved parsing uni stream type to ngx_http_v3_parse.c.Roman Arutyunyan1-4/+13
Previously it was parsed in ngx_http_v3_streams.c, while the streams were parsed in ngx_http_v3_parse.c. Now all parsing is done in one file. This simplifies parsing API and cleans up ngx_http_v3_streams.c.
2020-12-16HTTP/3: staticize internal parsing functions.Sergey Kandaurov1-32/+2
2020-08-24HTTP/3: skip unknown frames on request stream.Roman Arutyunyan1-0/+2
As per HTTP/3 draft 29, section 4.1: Frames of unknown types (Section 9), including reserved frames (Section 7.2.8) MAY be sent on a request or push stream before, after, or interleaved with other frames described in this section. Also, trailers frame is now used as an indication of the request body end.
2020-07-02HTTP/3: close QUIC connection with HTTP/QPACK errors when needed.Roman Arutyunyan1-0/+10
Previously errors led only to closing streams. To simplify closing QUIC connection from a QUIC stream context, new macro ngx_http_v3_finalize_connection() is introduced. It calls ngx_quic_finalize_connection() for the parent connection.
2020-07-02HTTP/3: fixed prefixed integer encoding and decoding.Roman Arutyunyan1-1/+1
Previously bytes were ordered from MSB to LSB, but the right order is the reverse.
2020-03-27Parsing HTTP/3 request body.Roman Arutyunyan1-0/+10
2020-03-18Refactored HTTP/3 parser.Roman Arutyunyan1-0/+145