From 4a0eb19038fc1ae7debf6f4e67a08d53ea67a7de Mon Sep 17 00:00:00 2001 From: ggobbe Date: Wed, 20 Sep 2023 09:18:47 +0200 Subject: Fix RedirectURLTooLong errors (#5786) The URL to download the manifest for Artifact Registry in Google is larger than 4092 bytes. cf. issue #4748 --- src/http_client_async.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); -- cgit v1.2.3