From 04e7dc87a84b9be14d3c487651b2fbd2924b9cc4 Mon Sep 17 00:00:00 2001 From: v2ray Date: Tue, 12 Jan 2016 18:28:00 +0100 Subject: [PATCH] log request content as debug --- proxy/http/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/http/http.go b/proxy/http/http.go index e57cb4485..c4066f6a6 100644 --- a/proxy/http/http.go +++ b/proxy/http/http.go @@ -222,7 +222,7 @@ func (this *HttpProxyServer) handlePlainHTTP(request *http.Request, dest v2net.D requestBuffer := alloc.NewBuffer().Clear() // Don't release this buffer as it is passed into a Packet. request.Write(requestBuffer) - log.Info("Request to remote:\n%s", string(requestBuffer.Value)) + log.Debug("Request to remote:\n%s", string(requestBuffer.Value)) packet := v2net.NewPacket(dest, requestBuffer, true) ray := this.space.PacketDispatcher().DispatchToOutbound(packet)