Skip to content

Commit

Permalink
log request content as debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Jan 12, 2016
1 parent c4b787e commit 04e7dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proxy/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 04e7dc8

Please sign in to comment.