Commit b4b9435b by Iwasaki Yudai

Don't send EOT

It was a bug that sending EOT when closing connection.
1 parent 10d0bd8a
Showing with 0 additions and 4 deletions
......@@ -216,10 +216,6 @@ func (app *App) generateHandler() func(w http.ResponseWriter, r *http.Request) {
go func() {
<-exit
if app.PermitWrite {
fio.Write([]byte{4})
}
fio.Close()
conn.Close()
log.Printf("Connection closed: %s", r.RemoteAddr)
}()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!