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

Issue 7005049: code review 7005049: net/http: match curl and others' NO_PROXY wildcard handling (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 5 months ago by bradfitz
Modified:
11 years, 5 months ago
Reviewers:
CC:
golang-dev, rsc
Visibility:
Public.

Description

net/http: match curl and others' NO_PROXY wildcard handling NO_PROXY="example.com" should match "foo.example.com", just the same as NO_PROXY=".example.com". This is what curl and Python do. Fixes issue 4574

Patch Set 1 #

Patch Set 2 : diff -r 791d6c690c0e https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 791d6c690c0e https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 5f9e99e3f2ea https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -17 lines) Patch
M src/pkg/net/http/proxy_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/transport.go View 1 1 chunk +9 lines, -1 line 0 comments Download
M src/pkg/net/http/transport_test.go View 1 2 chunks +45 lines, -15 lines 0 comments Download

Messages

Total messages: 3
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 5 months ago (2012-12-21 22:34:25 UTC) #1
rsc
LGTM
11 years, 5 months ago (2012-12-22 13:58:25 UTC) #2
bradfitz
11 years, 5 months ago (2012-12-23 01:41:07 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=87f67aadaed6 ***

net/http: match curl and others' NO_PROXY wildcard handling

NO_PROXY="example.com" should match "foo.example.com", just
the same as NO_PROXY=".example.com".  This is what curl and
Python do.

Fixes issue 4574

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7005049
Sign in to reply to this message.

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