aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar ggobbe <ggobbe@users.noreply.github.com> 2023-09-20 09:18:47 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-20 00:18:47 -0700
commit4a0eb19038fc1ae7debf6f4e67a08d53ea67a7de (patch)
tree1318dec6b3fa266c322f8d6b9c96ef92255ffb3e
parentedee1e3d04c80f5301b4eeb8eef2a92a0ed5823c (diff)
downloadbun-4a0eb19038fc1ae7debf6f4e67a08d53ea67a7de.tar.gz
bun-4a0eb19038fc1ae7debf6f4e67a08d53ea67a7de.tar.zst
bun-4a0eb19038fc1ae7debf6f4e67a08d53ea67a7de.zip
Fix RedirectURLTooLong errors (#5786)
The URL to download the manifest for Artifact Registry in Google is larger than 4092 bytes. cf. issue #4748
-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 00f11626f..89cedaa1b 100644
--- a/src/http_client_async.zig
+++ b/src/http_client_async.zig
@@ -33,7 +33,7 @@ const BoringSSL = bun.BoringSSL;
const X509 = @import("./bun.js/api/bun/x509.zig");
const c_ares = @import("./deps/c_ares.zig");
-const URLBufferPool = ObjectPool([4096]u8, null, false, 10);
+const URLBufferPool = ObjectPool([8192]u8, null, false, 10);
const uws = bun.uws;
pub const MimeType = @import("./http/mime_type.zig");
pub const URLPath = @import("./http/url_path.zig");