feat: add keep-alive
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user