aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-30 17:15:40 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2023-09-30 17:15:40 -0700
commit0a6175a73f827e13c04681f0c0d331d4d767131b (patch)
tree1d2059905d755d65d5bd465516e9c8122045248f
parent54d25b8f6b0f30b07146162a15d5f500fd45b2ee (diff)
downloadbun-jarred/fix-proxy-regression.tar.gz
bun-jarred/fix-proxy-regression.tar.zst
bun-jarred/fix-proxy-regression.zip
-rw-r--r--src/http_client_async.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig
index 65ffbee62..1e0ba7cc0 100644
--- a/src/http_client_async.zig
+++ b/src/http_client_async.zig
@@ -3447,7 +3447,7 @@ pub fn handleResponseMetadata(
if (this.proxy_tunneling and this.proxy_tunnel == null) {
if (response.status_code == 200) {
// signal to continue the proxing
- return ShouldContinue.finished;
+ return ShouldContinue.continue_streaming;
}
//proxy denied connection so return proxy result (407, 403 etc)