Update doc
This commit is contained in:
parent
153531d4d0
commit
5e925f873e
|
@ -1173,7 +1173,7 @@ int on_response_headers(Http2Session *http2session, Downstream *downstream,
|
||||||
resp.connection_close = true;
|
resp.connection_close = true;
|
||||||
} else {
|
} else {
|
||||||
// Otherwise, use chunked encoding to keep upstream connection
|
// Otherwise, use chunked encoding to keep upstream connection
|
||||||
// open. In HTTP2, we are supporsed not to receive
|
// open. In HTTP2, we are supposed not to receive
|
||||||
// transfer-encoding.
|
// transfer-encoding.
|
||||||
resp.fs.add_header_token(StringRef::from_lit("transfer-encoding"),
|
resp.fs.add_header_token(StringRef::from_lit("transfer-encoding"),
|
||||||
StringRef::from_lit("chunked"), false,
|
StringRef::from_lit("chunked"), false,
|
||||||
|
|
Loading…
Reference in New Issue