mirror of
https://github.com/ehang-io/nps.git
synced 2026-11-01 01:02:12 +08:00
http proxy bug
This commit is contained in:
1 parent
ff030b9c1c
commit
7edc65cfde
1 file changed
+1
-1
+1
-1
@@ -105,7 +105,7 @@ func ProcessHttp(c *conn.Conn, s *TunnelModeServer) error {
|
||||
return err
|
||||
}
|
||||
if r.Method == "CONNECT" {
|
||||
c.Write([]byte("HTTP/1.1 200 Connection Established\r\n"))
|
||||
c.Write([]byte("HTTP/1.1 200 Connection established\r\n\r\n"))
|
||||
rb = nil
|
||||
}
|
||||
if err := s.auth(r, c, s.task.Client.Cnf.U, s.task.Client.Cnf.P); err != nil {
|
||||
|
||||
Reference in new issue
Block a user