diff options
Diffstat (limited to 'src/install/install.zig')
-rw-r--r-- | src/install/install.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install/install.zig b/src/install/install.zig index 7bc79b015..5b5346294 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -329,7 +329,7 @@ const NetworkTask = struct { var url = URL.parse(this.url_buf); var http_proxy: ?URL = env_loader.getHttpProxy(url); - this.http = AsyncHTTP.init(allocator, .GET, url, header_builder.entries, header_builder.content.ptr.?[0..header_builder.content.len], &this.response_buffer, "", 0, this.getCompletionCallback(), http_proxy); + this.http = AsyncHTTP.init(allocator, .GET, url, header_builder.entries, header_builder.content.ptr.?[0..header_builder.content.len], &this.response_buffer, "", 0, this.getCompletionCallback(), http_proxy, null); this.http.max_retry_count = this.package_manager.options.max_retry_count; this.callback = .{ .package_manifest = .{ @@ -396,7 +396,7 @@ const NetworkTask = struct { var url = URL.parse(this.url_buf); var http_proxy: ?URL = env_loader.getHttpProxy(url); - this.http = AsyncHTTP.init(allocator, .GET, url, header_builder.entries, header_buf, &this.response_buffer, "", 0, this.getCompletionCallback(), http_proxy); + this.http = AsyncHTTP.init(allocator, .GET, url, header_builder.entries, header_buf, &this.response_buffer, "", 0, this.getCompletionCallback(), http_proxy, null); this.http.max_retry_count = this.package_manager.options.max_retry_count; this.callback = .{ .extract = tarball }; } |