aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNameless <truemedian@gmail.com>2023-05-28 09:50:51 +0200
committerNameless <truemedian@gmail.com>2023-06-01 13:44:00 -0500
commit23ccff9cce2a5264fc84998bd2c897682ac266ea (patch)
tree7dbd46f11ba4f3a73a232a2e3e2e719acb038acc /test
parent0e5e6cb10c12a5ae9fd83f85a82eafbe5eac1106 (diff)
downloadzig-23ccff9cce2a5264fc84998bd2c897682ac266ea.tar.gz
zig-23ccff9cce2a5264fc84998bd2c897682ac266ea.zip
std.http.Server: collapse BufferedConnection into Connection
Diffstat (limited to 'test')
-rw-r--r--test/standalone/http.zig1
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;