1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-30 11:05:24 +00:00
This commit is contained in:
Darien Raymond 2017-08-09 21:38:48 +02:00
commit 444758314d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -122,7 +122,7 @@ Start:
}
func (s *Server) handleConnect(ctx context.Context, request *http.Request, reader io.Reader, writer io.Writer, dest v2net.Destination, dispatcher dispatcher.Interface) error {
_, err := writer.Write([]byte("HTTP/1.1 200 Connection established\n\n"))
_, err := writer.Write([]byte("HTTP/1.1 200 Connection established\r\n\r\n"))
if err != nil {
return newError("failed to write back OK response").Base(err)
}