Skip to content

Commit fd0bd29

Browse files
committed
fix review issues
1 parent 2b1023f commit fd0bd29

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/net/http/httputil/reverseproxy.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ import (
2424
// ReverseProxy is an HTTP Handler that takes an incoming request and
2525
// sends it to another server, proxying the response back to the
2626
// client.
27-
// ReverseProxy automatically sets the client IP as value of the
27+
//
28+
// ReverseProxy automatically sets the client IP as the value of the
2829
// X-Forwarded-For header.
29-
// If a X-Forwarded-For header already exists, the client IP is
30-
// appended to existing values.
30+
// If an X-Forwarded-For header already exists, the client IP is
31+
// appended to the existing values.
3132
// To prevent IP spoofing, be sure to delete any pre-existing
32-
// X-Forwarded-For header comming from the client or
33+
// X-Forwarded-For header coming from the client or
3334
// an untrusted proxy.
3435
type ReverseProxy struct {
3536
// Director must be a function which modifies

0 commit comments

Comments
 (0)