Update doc
This commit is contained in:
parent
294fb07750
commit
22f8cc687f
|
@ -2220,11 +2220,11 @@ int Http3Upstream::http_end_request_headers(Downstream *downstream, int fin) {
|
||||||
|
|
||||||
auto content_length = req.fs.header(http2::HD_CONTENT_LENGTH);
|
auto content_length = req.fs.header(http2::HD_CONTENT_LENGTH);
|
||||||
if (content_length) {
|
if (content_length) {
|
||||||
// libnghttp2 guarantees this can be parsed
|
// libnghttp3 guarantees this can be parsed
|
||||||
req.fs.content_length = util::parse_uint(content_length->value);
|
req.fs.content_length = util::parse_uint(content_length->value);
|
||||||
}
|
}
|
||||||
|
|
||||||
// presence of mandatory header fields are guaranteed by libnghttp2.
|
// presence of mandatory header fields are guaranteed by libnghttp3.
|
||||||
auto authority = req.fs.header(http2::HD__AUTHORITY);
|
auto authority = req.fs.header(http2::HD__AUTHORITY);
|
||||||
auto path = req.fs.header(http2::HD__PATH);
|
auto path = req.fs.header(http2::HD__PATH);
|
||||||
auto method = req.fs.header(http2::HD__METHOD);
|
auto method = req.fs.header(http2::HD__METHOD);
|
||||||
|
|
Loading…
Reference in New Issue