diff options
author | 2023-03-02 19:05:21 -0800 | |
---|---|---|
committer | 2023-03-02 19:05:21 -0800 | |
commit | f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a (patch) | |
tree | d29a4cae43dd8fbb36e67a82f929430735af4b5b /src/http_client_async.zig | |
parent | 38d6cd6d15f2745d02fc757cc299691d82c7b4f5 (diff) | |
parent | 9388b3f8257bc2e580deaece4cd2677928104fc6 (diff) | |
download | bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.gz bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.zst bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.zip |
Merge branch 'main' into ciro/spawn-abort-signal-rebased
Diffstat (limited to 'src/http_client_async.zig')
-rw-r--r-- | src/http_client_async.zig | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index 0f6045bbb..945406448 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -1029,13 +1029,13 @@ aborted: ?*std.atomic.Atomic(bool) = null, async_http_id: u32 = 0, pub fn init(allocator: std.mem.Allocator, method: Method, url: URL, header_entries: Headers.Entries, header_buf: string, signal: ?*std.atomic.Atomic(bool)) HTTPClient { - return HTTPClient { - .allocator = allocator, - .method = method, - .url = url, - .header_entries = header_entries, - .header_buf = header_buf, - .aborted = signal, + return HTTPClient{ + .allocator = allocator, + .method = method, + .url = url, + .header_entries = header_entries, + .header_buf = header_buf, + .aborted = signal, }; } |