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

Issue 68920045: code review 68920045: crypto/tls: add DialWithDialer. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by agl1
Modified:
11 years ago
Reviewers:
r, gobot
CC:
golang-codereviews, r, bradfitz
Visibility:
Public.

Description

crypto/tls: add DialWithDialer. While reviewing uses of the lower-level Client API in code, I found that in many cases, code was using Client only because it needed a timeout on the connection. DialWithDialer allows a timeout (and other values) to be specified without resorting to the low-level API.

Patch Set 1 #

Patch Set 2 : diff -r ddb0a733af79 https://code.google.com/p/go/ #

Patch Set 3 : diff -r ddb0a733af79 https://code.google.com/p/go/ #

Patch Set 4 : diff -r ddb0a733af79 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 5 : diff -r dfc6bcfa4626 https://code.google.com/p/go/ #

Patch Set 6 : diff -r dfc6bcfa4626 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -15 lines) Patch
M src/pkg/crypto/tls/tls.go View 1 2 3 4 5 3 chunks +66 lines, -15 lines 0 comments Download
M src/pkg/crypto/tls/tls_test.go View 1 2 chunks +45 lines, -0 lines 0 comments Download

Messages

Total messages: 6
agl1
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 1 month ago (2014-02-26 18:17:04 UTC) #1
r
LGTM
11 years, 1 month ago (2014-02-26 21:43:30 UTC) #2
bradfitz
https://codereview.appspot.com/68920045/diff/50001/src/pkg/crypto/tls/tls.go File src/pkg/crypto/tls/tls.go (right): https://codereview.appspot.com/68920045/diff/50001/src/pkg/crypto/tls/tls.go#newcode105 src/pkg/crypto/tls/tls.go:105: errChannel <- errors.New("tls: DialWithDialer timed out") this error doesn't ...
11 years, 1 month ago (2014-02-26 21:53:02 UTC) #3
agl1
*** Submitted as https://code.google.com/p/go/source/detail?r=3d37606fb793 *** crypto/tls: add DialWithDialer. While reviewing uses of the lower-level Client ...
11 years ago (2014-02-28 14:40:45 UTC) #4
gobot
This CL appears to have broken the freebsd-amd64 builder.
11 years ago (2014-02-28 14:46:40 UTC) #5
agl1
11 years ago (2014-02-28 14:51:40 UTC) #6
On Fri, Feb 28, 2014 at 9:46 AM,  <gobot@golang.org> wrote:
> This CL appears to have broken the freebsd-amd64 builder.

Seems unlikely:

"--- FAIL: TestFinalizerInterfaceBig-2 (4.04 seconds)

mfinal_test.go:98: finalizer for type *bigValue didn't run"


Cheers

AGL
Sign in to reply to this message.

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