From 7edc65cfde936bf66a02ba7d7404a133a1a42eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B2=B3?= Date: Tue, 26 Mar 2019 14:28:43 +0800 Subject: [PATCH] http proxy bug --- server/proxy/tcp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/proxy/tcp.go b/server/proxy/tcp.go index 1df447a..b6e55cf 100755 --- a/server/proxy/tcp.go +++ b/server/proxy/tcp.go @@ -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 {