feat: add keep-alive

This commit is contained in:
2026-02-15 19:41:57 +01:00
parent df0bf9bed7
commit 336388041e
2 changed files with 13 additions and 6 deletions

View File

@@ -56,8 +56,6 @@ func HandleHTTPRequest(headers Headers, conn net.Conn) {
defer file.Close()
sendFile(file, conn)
conn.Close()
}
func sendFile(file *os.File, conn net.Conn) {