diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-06-03 13:36:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-03 13:36:07 -0700 |
| commit | 77b40d6ecb8d04bd9d8b95b04b8ba6ce3a6ea604 (patch) | |
| tree | 6713ba27d34e65c9645573ace7fe0c5bf7a8369c /test | |
| parent | 9461ed5037de8f3e4f03021c27d7458aa3d1a432 (diff) | |
| parent | 23ccff9cce2a5264fc84998bd2c897682ac266ea (diff) | |
| download | zig-77b40d6ecb8d04bd9d8b95b04b8ba6ce3a6ea604.tar.gz zig-77b40d6ecb8d04bd9d8b95b04b8ba6ce3a6ea604.zip | |
Merge pull request #15927 from truemedian/http-bugs
std.http: fix infinite read loop, deduplicate connection code, add TlsAlert errors
Diffstat (limited to 'test')
| -rw-r--r-- | test/standalone/http.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/standalone/http.zig b/test/standalone/http.zig index 13dc278b6d..ffb7a59276 100644 --- a/test/standalone/http.zig +++ b/test/standalone/http.zig @@ -86,7 +86,6 @@ fn handleRequest(res: *Server.Response) !void { try res.writeAll("World!\n"); // try res.finish(); try res.connection.writeAll("0\r\nX-Checksum: aaaa\r\n\r\n"); - try res.connection.flush(); } else if (mem.eql(u8, res.request.target, "/redirect/1")) { res.transfer_encoding = .chunked; |
