We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66a6621 commit 9281cabCopy full SHA for 9281cab
.bleep
@@ -1 +1 @@
1
-9594f40a77159eeab93897a8f67347971a83d26b
+e7df08c79f6333db2821028ef00eb65ea6152a48
pingora-proxy/src/proxy_h1.rs
@@ -513,6 +513,8 @@ impl<SV> HttpProxy<SV> {
513
&& header.headers.get(http::header::CONTENT_LENGTH).is_none()
514
&& !end
515
{
516
+ // Upgrade the http version to 1.1 because 1.0/0.9 doesn't support chunked
517
+ header.set_version(Version::HTTP_11);
518
header.insert_header(http::header::TRANSFER_ENCODING, "chunked")?;
519
}
520
0 commit comments