Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(931)

Issue 57370043: code review 57370043: httputil: in ReverseProxy, strip hop-by-hop headers and...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 3 months ago by fredr
Modified:
10 years, 2 months ago
CC:
golang-codereviews
Visibility:
Public.

Description

net/http/httputil: strip hop-by-hop headers in ReverseProxy Fixes issue 5967.

Patch Set 1 #

Patch Set 2 : diff -r 94165b19719e https://code.google.com/p/go #

Patch Set 3 : diff -r d815870876a1 https://code.google.com/p/go #

Total comments: 1

Patch Set 4 : diff -r d815870876a1 https://code.google.com/p/go #

Patch Set 5 : diff -r d815870876a1 https://code.google.com/p/go #

Total comments: 1

Patch Set 6 : diff -r d815870876a1 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -0 lines) Patch
M src/pkg/net/http/httputil/reverseproxy.go View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/net/http/httputil/reverseproxy_test.go View 1 2 3 4 5 3 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 13
fredr
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
10 years, 3 months ago (2014-01-27 19:34:00 UTC) #1
bradfitz
https://codereview.appspot.com/57370043/diff/40001/src/pkg/net/http/httputil/reverseproxy.go File src/pkg/net/http/httputil/reverseproxy.go (right): https://codereview.appspot.com/57370043/diff/40001/src/pkg/net/http/httputil/reverseproxy.go#newcode79 src/pkg/net/http/httputil/reverseproxy.go:79: dst.Set(k, v) Why? Seems wrong. This will lose multi-valued ...
10 years, 3 months ago (2014-01-27 19:36:52 UTC) #2
fredr
On 2014/01/27 19:36:52, bradfitz wrote: > https://codereview.appspot.com/57370043/diff/40001/src/pkg/net/http/httputil/reverseproxy.go > File src/pkg/net/http/httputil/reverseproxy.go (right): > > https://codereview.appspot.com/57370043/diff/40001/src/pkg/net/http/httputil/reverseproxy.go#newcode79 > ...
10 years, 3 months ago (2014-01-27 19:54:23 UTC) #3
bradfitz
On Mon, Jan 27, 2014 at 11:54 AM, <fredrik.enestad@soundtrackyourbrand.com>wrote: > On 2014/01/27 19:36:52, bradfitz wrote: ...
10 years, 3 months ago (2014-01-27 19:59:06 UTC) #4
fredr
Hello golang-codereviews@googlegroups.com, bradfitz@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years, 3 months ago (2014-01-27 20:34:02 UTC) #5
fredr
On 2014/01/27 19:59:06, bradfitz wrote: > On Mon, Jan 27, 2014 at 11:54 AM, > ...
10 years, 3 months ago (2014-01-27 20:34:20 UTC) #6
bradfitz
https://codereview.appspot.com/57370043/diff/80001/src/pkg/net/http/httputil/reverseproxy_test.go File src/pkg/net/http/httputil/reverseproxy_test.go (right): https://codereview.appspot.com/57370043/diff/80001/src/pkg/net/http/httputil/reverseproxy_test.go#newcode40 src/pkg/net/http/httputil/reverseproxy_test.go:40: w.Header().Set("Transfer-Encoding", "chunked") This is causing noise in the tests, ...
10 years, 3 months ago (2014-01-27 22:23:41 UTC) #7
fredr
On 2014/01/27 22:23:41, bradfitz wrote: > https://codereview.appspot.com/57370043/diff/80001/src/pkg/net/http/httputil/reverseproxy_test.go > File src/pkg/net/http/httputil/reverseproxy_test.go (right): > > https://codereview.appspot.com/57370043/diff/80001/src/pkg/net/http/httputil/reverseproxy_test.go#newcode40 > ...
10 years, 3 months ago (2014-01-27 22:48:05 UTC) #8
bradfitz
LGTM On Mon, Jan 27, 2014 at 2:48 PM, <fredrik.enestad@soundtrackyourbrand.com>wrote: > On 2014/01/27 22:23:41, bradfitz ...
10 years, 3 months ago (2014-01-27 23:23:50 UTC) #9
bradfitz
Please change CL description first line to read: "net/http/httputil: strip hop-by-hop headers in ReverseProxy" On ...
10 years, 3 months ago (2014-01-27 23:26:01 UTC) #10
fredr
On 2014/01/27 23:26:01, bradfitz wrote: > Please change CL description first line to read: "net/http/httputil: ...
10 years, 3 months ago (2014-01-27 23:29:21 UTC) #11
bradfitz
Whoops. The submit went through (halfway) before I noticed the commit description. Submitted in https://code.google.com/p/go/source/detail?r=cd8d13f7fcd67 ...
10 years, 3 months ago (2014-01-27 23:32:14 UTC) #12
rsc
10 years, 2 months ago (2014-03-05 20:03:25 UTC) #13
R=close
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b