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

Issue 5532057: code review 5532057: http: fix Transport deadlock

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by ykanno
Modified:
12 years, 3 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz, nekotaroh
Visibility:
Public.

Description

http: fix Transport deadlock This patch intend to fix following issues. http://code.google.com/p/go/issues/detail?id=2616 Fixes issue 2616.

Patch Set 1 #

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

Total comments: 2

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

Patch Set 4 : diff -r 06129c716fbb https://go.googlecode.com/hg/ #

Total comments: 7

Patch Set 5 : diff -r 06129c716fbb https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -8 lines) Patch
M src/pkg/net/http/client_test.go View 1 2 3 4 3 chunks +59 lines, -0 lines 0 comments Download
M src/pkg/net/http/transport.go View 1 2 3 3 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 14
bradfitz
Okay, I've now processed your CLA, so this can be submitted once it's cleaned up. ...
12 years, 4 months ago (2012-01-10 23:57:44 UTC) #1
bradfitz
Also, let's change the first line of the CL description to: http: fix Transport deadlock ...
12 years, 4 months ago (2012-01-10 23:59:11 UTC) #2
ykanno
> > In addition to the things below, can you add a test? How do ...
12 years, 4 months ago (2012-01-11 05:38:29 UTC) #3
ykanno
Hello golang-dev@googlegroups.com, bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 4 months ago (2012-01-15 08:09:05 UTC) #4
nekotaroh
summary 1. request.go's bug was fixed for the last few days so it's removed 2. ...
12 years, 4 months ago (2012-01-15 08:37:13 UTC) #5
bradfitz
The fix and tests look good. The only part I don't like is adding MaxKeepAliveRequests, ...
12 years, 4 months ago (2012-01-19 04:09:26 UTC) #6
nekotaroh
> The only part I don't like is adding MaxKeepAliveRequests, which I believe > is ...
12 years, 4 months ago (2012-01-19 14:37:56 UTC) #7
ykanno
Hello golang-dev@googlegroups.com, bradfitz@golang.org, nekotaroh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 4 months ago (2012-01-21 13:15:44 UTC) #8
bradfitz
Looking much better and simpler, thanks! Almost there. Few more comments in the test.... http://codereview.appspot.com/5532057/diff/12001/src/pkg/net/http/client_test.go ...
12 years, 4 months ago (2012-01-21 16:39:23 UTC) #9
ykanno
Hello golang-dev@googlegroups.com, bradfitz@golang.org, nekotaroh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 4 months ago (2012-01-22 00:21:30 UTC) #10
bradfitz
Unfortunately the test doesn't pass on my machine. I'll take a look at writing a ...
12 years, 3 months ago (2012-01-24 05:46:16 UTC) #11
nekotaroh
Oops. Since This new test is executed in parallel(default is 8), this behavior might affect ...
12 years, 3 months ago (2012-01-24 07:13:00 UTC) #12
bradfitz
LGTM I've submitted a more reliable test. Submitting just the transport.go part (the actual fix) ...
12 years, 3 months ago (2012-01-25 22:59:58 UTC) #13
bradfitz
12 years, 3 months ago (2012-01-25 23:00:44 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=f57165f82a11 ***

net/http: fix Transport deadlock

This patch intend to fix following issues.
http://code.google.com/p/go/issues/detail?id=2616

Fixes issue 2616.

R=golang-dev, bradfitz, nekotaroh
CC=golang-dev
http://codereview.appspot.com/5532057

Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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