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

Issue 68150045: code review 68150045: net/http: add Transport.TLSHandshakeTimeout; set it by ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by bradfitz
Modified:
10 years, 2 months ago
Reviewers:
agl1, gobot
CC:
agl, agl1, golang-codereviews
Visibility:
Public.

Description

net/http: add Transport.TLSHandshakeTimeout; set it by default Update Issue 3362

Patch Set 1 #

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

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

Total comments: 2

Patch Set 4 : diff -r 733fefb1deae https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 733fefb1deae https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 054f3a25426d https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -4 lines) Patch
M src/pkg/net/http/transport.go View 1 2 3 4 4 chunks +32 lines, -4 lines 0 comments Download
M src/pkg/net/http/transport_test.go View 1 1 chunk +67 lines, -0 lines 0 comments Download

Messages

Total messages: 9
bradfitz
Hello agl@chromium.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 2 months ago (2014-02-24 23:28:40 UTC) #1
agl1
LGTM https://codereview.appspot.com/68150045/diff/40001/src/pkg/net/http/transport.go File src/pkg/net/http/transport.go (right): https://codereview.appspot.com/68150045/diff/40001/src/pkg/net/http/transport.go#newcode563 src/pkg/net/http/transport.go:563: timeoutFired := timer != nil && !timer.Stop() It's ...
10 years, 2 months ago (2014-02-25 00:05:59 UTC) #2
bradfitz
Isn't there a race window where handshake succeeds first and then timer also fires before ...
10 years, 2 months ago (2014-02-25 00:12:27 UTC) #3
agl1
https://codereview.appspot.com/68150045/diff/40001/src/pkg/net/http/transport.go File src/pkg/net/http/transport.go (right): https://codereview.appspot.com/68150045/diff/40001/src/pkg/net/http/transport.go#newcode558 src/pkg/net/http/transport.go:558: plainConn.Close() Ah, I see. You're right, in which case ...
10 years, 2 months ago (2014-02-25 00:16:17 UTC) #4
bradfitz
Hello agl@chromium.org, agl@golang.org (cc: golang-codereviews@googlegroups.com), Please take another look.
10 years, 2 months ago (2014-02-25 00:56:02 UTC) #5
bradfitz
PTAL. Simplified. On Mon, Feb 24, 2014 at 4:56 PM, <bradfitz@golang.org> wrote: > Hello agl@chromium.org, ...
10 years, 2 months ago (2014-02-25 00:56:18 UTC) #6
agl1
LGTM, thanks!
10 years, 2 months ago (2014-02-25 15:20:43 UTC) #7
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=c8edfe4ddd5a *** net/http: add Transport.TLSHandshakeTimeout; set it by default Update Issue 3362 ...
10 years, 2 months ago (2014-02-25 16:08:16 UTC) #8
gobot
10 years, 2 months ago (2014-02-25 16:30:57 UTC) #9
Message was sent while issue was closed.
This CL appears to have broken the windows-amd64 builder.
Sign in to reply to this message.

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