This commit is contained in:
Karl Seguin committed 2026-09-02 11:00:04 +08:00
1 parent 1b50e235d5
commit c85208a3be
1 file changed
+1 -2
+1 -2
View File
@@ -670,8 +670,7 @@ pub const Handles = struct {
try libcurl.curl_multi_setopt(multi, .max_host_connections, config.httpMaxHostOpen());
// Default is 4x the attached easy handles, i.e. ~0 between page loads,
// so keepalive connections were evicted on every cross-site navigation.
try libcurl.curl_multi_setopt(multi, .max_connects, 4 * @as(u32, config.httpMaxConcurrent()));
try libcurl.curl_multi_setopt(multi, .max_connects, 4 * @as(u32, config.httpMaxConcurrent()));
return .{ .multi = multi };
}