From 8edf406c52cf2a4578f805592022da69a9ef6349 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 11 Feb 2023 17:19:26 +0100 Subject: [PATCH] Drop obsolete comments --- net/http/do.ha | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/http/do.ha b/net/http/do.ha index 9347fe7..f787f09 100644 --- a/net/http/do.ha +++ b/net/http/do.ha @@ -29,17 +29,12 @@ export fn do(client: *client, req: *request) (response | error) = { uri::fmt(&file, &target)?; fmt::fprintf(&file, " HTTP/1.1\r\n")?; - // TODO: Handle Content-Length and Transfer-Encoding chunked/gzip - // properly - write_header(&file, &req.header)?; fmt::fprintf(&file, "\r\n")?; bufio::flush(&file)?; match (req.body) { case let body: io::handle => - // Copy to conn directly so we can use sendfile(2) if - // appropriate io::copy(conn, body)?; case void => yield;