This commit is contained in:
刘河
2019-04-10 20:54:51 +08:00
parent 16c97a3c36
commit 60c8b0c7bf
5 changed files with 71 additions and 65 deletions

View File

@@ -249,7 +249,7 @@ func (s *httpServer) httpHandle(c *conn.Conn, r *http.Request) {
reqCh <- r
}
end:
if isConn {
if !readReq {
s.writeConnFail(c.Conn)
}
c.Close()