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

Issue 5996044: code review 5996044: net/http: allow clients to disable keep-alive (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by niemeyer
Modified:
12 years ago
Reviewers:
CC:
golang-dev, bradfitz, gustavo_niemeyer.net
Visibility:
Public.

Description

net/http: allow clients to disable keep-alive Fixes issue 3540.

Patch Set 1 #

Patch Set 2 : code review 5996044: net/http: allow clients to disable keep-alive #

Patch Set 3 : code review 5996044: net/http: allow clients to disable keep-alive #

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

Patch Set 5 : diff -r 4ed98a6b6fe5 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 4ed98a6b6fe5 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 7 : diff -r 0739e30d5df7 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
M src/pkg/net/http/request.go View 1 2 3 4 5 1 chunk +14 lines, -2 lines 0 comments Download
M src/pkg/net/http/serve_test.go View 1 2 3 4 5 6 2 chunks +11 lines, -4 lines 0 comments Download
M src/pkg/net/http/server.go View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 7
niemeyer
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 1 month ago (2012-04-13 02:42:41 UTC) #1
bradfitz
Read the spec to answer your TODO question, then fix the other spot where you ...
12 years, 1 month ago (2012-04-13 02:49:38 UTC) #2
gustavo_niemeyer.net
On Thu, Apr 12, 2012 at 23:49, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Read the spec ...
12 years, 1 month ago (2012-04-13 03:19:11 UTC) #3
bradfitz
On Thu, Apr 12, 2012 at 8:18 PM, Gustavo Niemeyer <gustavo@niemeyer.net>wrote: > On Thu, Apr ...
12 years, 1 month ago (2012-04-13 04:46:24 UTC) #4
niemeyer
Hello golang-dev@googlegroups.com, bradfitz@golang.org, gustavo@niemeyer.net (cc: golang-dev@googlegroups.com), Please take another look.
12 years ago (2012-04-15 14:56:12 UTC) #5
bradfitz
LGTM Sorry for the delay. http://codereview.appspot.com/5996044/diff/12001/src/pkg/net/http/serve_test.go File src/pkg/net/http/serve_test.go (right): http://codereview.appspot.com/5996044/diff/12001/src/pkg/net/http/serve_test.go#newcode420 src/pkg/net/http/serve_test.go:420: testTcpConnectionCloses(t, "GET / HTTP/1.1\r\nConnection: ...
12 years ago (2012-04-18 01:50:17 UTC) #6
niemeyer
12 years ago (2012-04-24 01:00:29 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=97d027b3aa68 ***

net/http: allow clients to disable keep-alive

Fixes issue 3540.

R=golang-dev, bradfitz, gustavo
CC=golang-dev
http://codereview.appspot.com/5996044

http://codereview.appspot.com/5996044/diff/12001/src/pkg/net/http/serve_test.go
File src/pkg/net/http/serve_test.go (right):

http://codereview.appspot.com/5996044/diff/12001/src/pkg/net/http/serve_test....
src/pkg/net/http/serve_test.go:420: testTcpConnectionCloses(t, "GET /
HTTP/1.1\r\nConnection: close\r\n\r\n", HandlerFunc(func(w ResponseWriter, r
*Request) {
On 2012/04/18 01:50:17, bradfitz wrote:
> initials should all be the same case.  testTCPConnectionCloses.
> 
> I know you're just copying this from below, so feel free to not fix it.  Or
fix
> it if you'd like.

Done.
Sign in to reply to this message.

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