diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/http_client_async.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index 9415f7767..bcf8d9600 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -254,6 +254,7 @@ pub const AsyncHTTP = struct { pub const CompletionCallback = fn (this: *AsyncHTTP, sender: *HTTPSender) void; pub var active_requests_count = std.atomic.Atomic(u32).init(0); + pub var max_simultaneous_requests: u16 = 32; pub const State = enum(u32) { pending = 0, |