diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-02-16 17:12:03 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-02-23 02:37:11 -0700 |
| commit | d574875f00db32c40019c69465d450a6a58da67f (patch) | |
| tree | c19f6263bd774f08a28d17666a41495333eb4f89 /test | |
| parent | 3d61890d2405dc861db1e9e5a334ea6f2415a8f1 (diff) | |
| download | zig-d574875f00db32c40019c69465d450a6a58da67f.tar.gz zig-d574875f00db32c40019c69465d450a6a58da67f.zip | |
Revert "std.http: remove 'done' flag"
This reverts commit 42be972a72c86b32ad8403d082ab42763c6facec.
Using a bit to distinguish between headers and trailers is fine. It was
just named and documented poorly.
Diffstat (limited to 'test')
| -rw-r--r-- | test/standalone/http.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/standalone/http.zig b/test/standalone/http.zig index ee029538bc..d6756fbeb8 100644 --- a/test/standalone/http.zig +++ b/test/standalone/http.zig @@ -673,7 +673,7 @@ pub fn main() !void { var req = try client.open(.GET, uri, .{ .server_header_buffer = headers_buf, }); - req.response.parser.state = .complete; + req.response.parser.done = true; req.connection.?.closing = false; requests[i] = req; } |
