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

Issue 5283045: code review 5283045: http, crypto/tls: fix read timeouts and closing. (Closed)

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

Description

http, crypto/tls: fix read timeouts and closing. tls.Conn.Close() didn't close the underlying connection and tried to do a handshake in order to send the close notify alert. http didn't look for errors from the TLS handshake. Fixes issue 2281.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 17d744a4ebd7 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 17d744a4ebd7 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -9 lines) Patch
M src/pkg/crypto/tls/conn.go View 1 3 chunks +16 lines, -4 lines 0 comments Download
M src/pkg/http/serve_test.go View 1 1 chunk +0 lines, -4 lines 0 comments Download
M src/pkg/http/server.go View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 3
agl1
Hello bradfitz@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 6 months ago (2011-10-14 19:00:18 UTC) #1
bradfitz
LGTM On Fri, Oct 14, 2011 at 12:00 PM, <agl@golang.org> wrote: > Reviewers: bradfitz, > ...
12 years, 6 months ago (2011-10-14 19:11:54 UTC) #2
agl1
12 years, 6 months ago (2011-10-18 16:59:38 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=330818296ada ***

http, crypto/tls: fix read timeouts and closing.

tls.Conn.Close() didn't close the underlying connection and tried to
do a handshake in order to send the close notify alert.

http didn't look for errors from the TLS handshake.

Fixes issue 2281.

R=bradfitz
CC=golang-dev
http://codereview.appspot.com/5283045
Sign in to reply to this message.

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