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

Issue 52660047: code review 52660047: net/http: Add TLS Connection State to Responses.

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

Description

net/http: Add TLS Connection State to Responses. Fixes issue 7289.

Patch Set 1 #

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

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

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -0 lines) Patch
M src/pkg/net/http/client_test.go View 1 1 chunk +28 lines, -0 lines 1 comment Download
M src/pkg/net/http/response.go View 1 2 chunks +7 lines, -0 lines 2 comments Download
M src/pkg/net/http/transport.go View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 15
paul.querna
Hello golang-codereviews@googlegroups.com, golang-dev@googlegroups.com (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 3 months ago (2014-02-13 06:29:48 UTC) #1
gobot
Replacing golang-dev with golang-codereviews. To the author of this CL: If you are using 'hg ...
10 years, 3 months ago (2014-02-13 06:33:51 UTC) #2
r
minor points. Leaving for agl and bradfitz for semantics and security. https://codereview.appspot.com/52660047/diff/40001/src/pkg/net/http/client_test.go File src/pkg/net/http/client_test.go (right): ...
10 years, 3 months ago (2014-02-13 19:41:13 UTC) #3
rsc
ping agl, bradfitz
10 years, 2 months ago (2014-03-03 23:48:59 UTC) #4
agl1
I think this is up to bradfitz. My only comment would be that "TLS" is ...
10 years, 2 months ago (2014-03-04 01:23:40 UTC) #5
bradfitz
It's the same name and convention as Request.TLS, though: http://golang.org/pkg/net/http/#Request The code & tests seem ...
10 years, 2 months ago (2014-03-04 01:35:54 UTC) #6
rsc
The tricky bit about field vs accessor is that things other than package http need ...
10 years, 2 months ago (2014-03-04 01:41:52 UTC) #7
bradfitz
Re-usable pointer could work. Most connections are keep-alive anyway, and if not: you have bigger ...
10 years, 2 months ago (2014-03-04 01:51:44 UTC) #8
rsc
let's just do the single field + reuse for now. we can worry about flags ...
10 years, 2 months ago (2014-03-04 01:58:35 UTC) #9
bradfitz
SGTM Paul, does that all make sense? On Mon, Mar 3, 2014 at 5:58 PM, ...
10 years, 2 months ago (2014-03-04 02:00:19 UTC) #10
rsc
paul, will you have time to work on this in the next few days? if ...
10 years, 2 months ago (2014-03-05 19:59:35 UTC) #11
bradfitz
LGTM I will submit this and then fix a couple things up (including the memory ...
10 years, 2 months ago (2014-03-05 20:25:41 UTC) #12
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=4f40188a1999 *** net/http: Add TLS Connection State to Responses. Fixes issue 7289. ...
10 years, 2 months ago (2014-03-05 20:25:57 UTC) #13
bradfitz
Follow-ups in https://codereview.appspot.com/71740043
10 years, 2 months ago (2014-03-05 20:35:59 UTC) #14
gobot
10 years, 2 months ago (2014-03-05 22:56:00 UTC) #15
This CL appears to have broken the windows-386-ec2 builder.
Sign in to reply to this message.

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