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

Issue 70800043: code review 70800043: net/http: in Client, consume small redirect bodies befo... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by bradfitz
Modified:
11 years, 3 months ago
Reviewers:
gobot, josharian
CC:
josharian, golang-codereviews
Visibility:
Public.

Description

net/http: in Client, consume small redirect bodies before making next request In Go 1.2, closing a request body without reading to EOF causes the underlying TCP connection to not be reused. This client code following redirects was never updated when that happened. This was part of a previous CL but moved to its own CL at Josh's request. Now with test too.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 7611e98a94c8 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -0 lines) Patch
M src/pkg/net/http/client.go View 1 2 chunks +7 lines, -0 lines 0 comments Download
M src/pkg/net/http/client_test.go View 1 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 4
bradfitz
Hello josharian@gmail.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 3 months ago (2014-03-03 16:18:24 UTC) #1
josharian
LGTM Thanks for splitting this out, giving it a good commit message, and adding a ...
11 years, 3 months ago (2014-03-03 19:04:10 UTC) #2
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=7257b771f12b *** net/http: in Client, consume small redirect bodies before making next ...
11 years, 3 months ago (2014-03-03 19:25:59 UTC) #3
gobot
11 years, 3 months ago (2014-03-03 19:29:31 UTC) #4
Message was sent while issue was closed.
This CL appears to have broken the solaris-amd64-solaris11 builder.
Sign in to reply to this message.

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