From 22f8cc687fe763f7ae911c969e84ec0d253fe1a4 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 22 Jun 2022 23:57:32 +0900 Subject: [PATCH] Update doc --- src/shrpx_http3_upstream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shrpx_http3_upstream.cc b/src/shrpx_http3_upstream.cc index 359898de..b7f3edf7 100644 --- a/src/shrpx_http3_upstream.cc +++ b/src/shrpx_http3_upstream.cc @@ -2220,11 +2220,11 @@ int Http3Upstream::http_end_request_headers(Downstream *downstream, int fin) { auto content_length = req.fs.header(http2::HD_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); } - // 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 path = req.fs.header(http2::HD__PATH); auto method = req.fs.header(http2::HD__METHOD);