Skip to content

Commit 2005741

Browse files
remove invalid comment
1 parent a3c8e08 commit 2005741

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

proxy/proxy.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ func (p *Server) forwardRequest(conn net.Conn, req *http.Request, https bool) {
276276
var requestBodyBytes []byte
277277
{
278278
var err error
279-
// Read the body and explicitly set Content-Length header, otherwise client can hung up on the request.
280279
requestBodyBytes, err = io.ReadAll(req.Body)
281280
if err != nil {
282281
p.logger.Error("can't read response body", "error", err)

0 commit comments

Comments
 (0)