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

Issue 5345041: code review 5345041: http: make httputil's chunked reader/writer code a dire... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 9 months ago by adg
Modified:
13 years, 9 months ago
Reviewers:
CC:
golang-dev, mikio, bradfitz, andybalholm, rsc
Visibility:
Public.

Description

http: make httputil's chunked reader/writer code a direct copy Arrange the code so that it's easier to keep edits in sync.

Patch Set 1 #

Patch Set 2 : diff -r 37533e1cfe43 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 37533e1cfe43 https://go.googlecode.com/hg/ #

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

Total comments: 2

Patch Set 5 : diff -r 37533e1cfe43 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 6 : diff -r 9526029204c3 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 29ce507f2769 https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r 29ce507f2769 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r 2b44306d5914 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 2b44306d5914 https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r f863a24df33d https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+280 lines, -124 lines) Patch
M src/pkg/net/http/chunked.go View 1 2 3 4 5 6 7 8 2 chunks +119 lines, -6 lines 0 comments Download
A src/pkg/net/http/chunked_test.go View 1 2 3 4 5 6 7 8 1 chunk +39 lines, -0 lines 0 comments Download
M src/pkg/net/http/httputil/chunked.go View 1 2 3 4 5 6 7 8 9 10 3 chunks +114 lines, -26 lines 0 comments Download
M src/pkg/net/http/httputil/chunked_test.go View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -1 line 0 comments Download
M src/pkg/net/http/request.go View 1 2 3 4 5 6 7 8 9 10 4 chunks +0 lines, -90 lines 0 comments Download
M src/pkg/net/http/response_test.go View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 24
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 9 months ago (2011-11-04 03:25:32 UTC) #1
mikio
http://codereview.appspot.com/5345041/diff/8001/src/pkg/Makefile File src/pkg/Makefile (left): http://codereview.appspot.com/5345041/diff/8001/src/pkg/Makefile#oldcode131 src/pkg/Makefile:131: net/http/fcgi\ sort? e.g., net/http\ net/http/chunked\ net/http/cgi\ net/http/fcgi\ net/http/httptest\ net/http/httputil\ ...
13 years, 9 months ago (2011-11-04 04:12:49 UTC) #2
adg
http://codereview.appspot.com/5345041/diff/8001/src/pkg/Makefile File src/pkg/Makefile (left): http://codereview.appspot.com/5345041/diff/8001/src/pkg/Makefile#oldcode131 src/pkg/Makefile:131: net/http/fcgi\ On 2011/11/04 04:12:49, mikioh wrote: > sort? > ...
13 years, 9 months ago (2011-11-04 04:16:26 UTC) #3
mikio
And please re-run hg sync, all.bash at go/src or gomake testshort at go/src/pkg. Perhaps net/http/cgi/*_test.go ...
13 years, 9 months ago (2011-11-04 04:28:02 UTC) #4
bradfitz
+0, deferring to r*. I think this is cleaner, but I have no objections against ...
13 years, 9 months ago (2011-11-04 04:31:47 UTC) #5
adg
This change reveals a bug in the way trailers are handled. The behaviors of the ...
13 years, 9 months ago (2011-11-04 04:54:17 UTC) #6
adg
No that trailers are handled properly this is ready for review Any objections to the ...
13 years, 9 months ago (2011-11-04 21:54:42 UTC) #7
andybalholm
On 2011/11/04 21:54:42, adg wrote: > No that trailers are handled properly this is ready ...
13 years, 9 months ago (2011-11-05 16:52:53 UTC) #8
adg
Just synced and uploaded. Try now. On 6 November 2011 03:52, <andybalholm@gmail.com> wrote: > On ...
13 years, 9 months ago (2011-11-05 19:50:11 UTC) #9
andybalholm
On 2011/11/05 19:50:11, adg wrote: > Just synced and uploaded. Try now. Building anything right ...
13 years, 9 months ago (2011-11-05 23:26:45 UTC) #10
rsc
I object. Why is this necessary? Who uses them? What is the hacky workaround in ...
13 years, 9 months ago (2011-11-07 16:53:57 UTC) #11
andybalholm
On 2011/11/07 16:53:57, rsc wrote: > I object. > > Why is this necessary? Who ...
13 years, 9 months ago (2011-11-07 17:18:31 UTC) #12
bradfitz
On Mon, Nov 7, 2011 at 9:18 AM, <andybalholm@gmail.com> wrote: > On 2011/11/07 16:53:57, rsc ...
13 years, 9 months ago (2011-11-07 17:30:21 UTC) #13
andybalholm
On 2011/11/07 17:30:21, bradfitz wrote: > What adg is objecting to is my implementation of ...
13 years, 9 months ago (2011-11-07 17:36:39 UTC) #14
bradfitz
On Mon, Nov 7, 2011 at 9:36 AM, <andybalholm@gmail.com> wrote: > On 2011/11/07 17:30:21, bradfitz ...
13 years, 9 months ago (2011-11-07 17:41:18 UTC) #15
rsc
Yes, the httputil implementation is a little kludgy. I'd rather just copy the implementation over ...
13 years, 9 months ago (2011-11-07 17:50:48 UTC) #16
bradfitz
On Mon, Nov 7, 2011 at 9:50 AM, Russ Cox <rsc@golang.org> wrote: > Yes, the ...
13 years, 9 months ago (2011-11-07 17:55:31 UTC) #17
rsc
On Mon, Nov 7, 2011 at 12:55, Brad Fitzpatrick <bradfitz@golang.org> wrote: > Well, until my ...
13 years, 9 months ago (2011-11-07 17:58:59 UTC) #18
adg
What is your objection to the new package? Packages are not expensive and the chunked ...
13 years, 9 months ago (2011-11-07 20:38:46 UTC) #19
rsc
On Mon, Nov 7, 2011 at 15:38, Andrew Gerrand <adg@golang.org> wrote: > This is what ...
13 years, 9 months ago (2011-11-07 21:57:40 UTC) #20
adg
Hello golang-dev@googlegroups.com, mikioh.mikioh@gmail.com, bradfitz@golang.org, andybalholm@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 9 months ago (2011-11-07 23:30:52 UTC) #21
mikio
LGTM On 2011/11/07 23:30:52, adg wrote: > Hello mailto:golang-dev@googlegroups.com, mailto:mikioh.mikioh@gmail.com, mailto:bradfitz@golang.org, > mailto:andybalholm@gmail.com, mailto:rsc@golang.org (cc: ...
13 years, 9 months ago (2011-11-08 22:43:01 UTC) #22
adg
*** Submitted as http://code.google.com/p/go/source/detail?r=0ca985c8186d *** http: make httputil's chunked reader/writer code a direct copy Arrange ...
13 years, 9 months ago (2011-11-09 03:56:01 UTC) #23
bradfitz
13 years, 9 months ago (2011-11-09 04:00:51 UTC) #24
*shrug*

I liked it more as it was, but whatever.


On Tue, Nov 8, 2011 at 7:56 PM, <adg@golang.org> wrote:

> *** Submitted as
>
http://code.google.com/p/go/**source/detail?r=0ca985c8186d<http://code.google...
>
> http: make httputil's chunked reader/writer code a direct copy
>
> Arrange the code so that it's easier to keep edits in sync.
>
> R=golang-dev, mikioh.mikioh, bradfitz, andybalholm, rsc
> CC=golang-dev
> http://codereview.appspot.com/**5345041<http://codereview.appspot.com/5345041>
>
>
>
http://codereview.appspot.com/**5345041/<http://codereview.appspot.com/5345041/>
>
Sign in to reply to this message.

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