mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
Xss
This commit is contained in:
1 parent
16c97a3c36
commit
60c8b0c7bf
5 files changed
+71
-65
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user