aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNameless <truemedian@gmail.com>2023-10-03 14:26:06 -0500
committerNameless <truemedian@gmail.com>2023-10-21 20:52:58 -0500
commite1c37f70d4ae9a7bfa6de92dcb26e7cfdffc17c2 (patch)
tree26aa7274ade1c3fd5ffecdb477e0f83dd606b25b /test
parent1afeada2d95e50efe651bd6227719ca4003dad96 (diff)
downloadzig-e1c37f70d4ae9a7bfa6de92dcb26e7cfdffc17c2.tar.gz
zig-e1c37f70d4ae9a7bfa6de92dcb26e7cfdffc17c2.zip
std.http.Client: store *Connection instead of a pool node, buffer writes
Diffstat (limited to 'test')
-rw-r--r--test/standalone/http.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/standalone/http.zig b/test/standalone/http.zig
index 8b538a092f..71f3481767 100644
--- a/test/standalone/http.zig
+++ b/test/standalone/http.zig
@@ -680,7 +680,7 @@ pub fn main() !void {
for (0..total_connections) |i| {
var req = try client.request(.GET, uri, .{ .allocator = calloc }, .{});
req.response.parser.done = true;
- req.connection.?.data.closing = false;
+ req.connection.?.closing = false;
requests[i] = req;
}