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

Issue 6351052: code review 6351052: net/http: support multiple byte ranges in ServeContent (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 10 months ago by bradfitz
Modified:
11 years, 10 months ago
Reviewers:
r
CC:
golang-dev, adg
Visibility:
Public.

Description

net/http: support multiple byte ranges in ServeContent Fixes issue 3784

Patch Set 1 #

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

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

Total comments: 1

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

Total comments: 1

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

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+199 lines, -53 lines) Patch
M src/pkg/net/http/fs.go View 1 2 3 4 8 chunks +93 lines, -14 lines 0 comments Download
M src/pkg/net/http/fs_test.go View 1 4 chunks +84 lines, -39 lines 5 comments Download
M src/pkg/net/http/range_test.go View 1 2 chunks +22 lines, -0 lines 0 comments Download

Messages

Total messages: 8
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 10 months ago (2012-06-29 00:52:44 UTC) #1
bradfitz
R=adg or rsc or whoever likes/knows this sort of stuff. On Thu, Jun 28, 2012 ...
11 years, 10 months ago (2012-06-29 00:53:40 UTC) #2
adg
http://codereview.appspot.com/6351052/diff/5001/src/pkg/net/http/fs.go File src/pkg/net/http/fs.go (right): http://codereview.appspot.com/6351052/diff/5001/src/pkg/net/http/fs.go#newcode200 src/pkg/net/http/fs.go:200: return do you really want to just throw these ...
11 years, 10 months ago (2012-06-29 05:36:49 UTC) #3
bradfitz
Hello golang-dev@googlegroups.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 10 months ago (2012-06-29 13:45:00 UTC) #4
bradfitz
PTAL On Thu, Jun 28, 2012 at 10:36 PM, <adg@golang.org> wrote: > > http://codereview.appspot.com/**6351052/diff/5001/src/pkg/net/**http/fs.go<http://codereview.appspot.com/6351052/diff/5001/src/pkg/net/http/fs.go> > ...
11 years, 10 months ago (2012-06-29 13:47:04 UTC) #5
adg
LGTM On 2012/06/29 13:47:04, bradfitz wrote: > Fixed. They're now propagate up, where io.Copy will ...
11 years, 10 months ago (2012-06-29 14:38:43 UTC) #6
bradfitz
*** Submitted as http://code.google.com/p/go/source/detail?r=070604630d24 *** net/http: support multiple byte ranges in ServeContent Fixes issue 3784 ...
11 years, 10 months ago (2012-06-29 14:44:11 UTC) #7
r
11 years, 10 months ago (2012-07-03 16:53:04 UTC) #8
http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go
File src/pkg/net/http/fs_test.go (right):

http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go#n...
src/pkg/net/http/fs_test.go:125: t.Errorf("range=%q content-type = %q; lacks
boundary", rt.r, ct)
continue?

http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go#n...
src/pkg/net/http/fs_test.go:128: t.Errorf("range=%q Content-Length = %d; want
%d", rt.r, g, w)
continue?

http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go#n...
src/pkg/net/http/fs_test.go:134: t.Fatalf("range=%q, reading part index %d: %v",
rt.r, ri, err)
why fatal?

http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go#n...
src/pkg/net/http/fs_test.go:138: t.Fatalf("range=%q, reading part index %d body:
%v", rt.r, ri, err)
why fatal?

http://codereview.appspot.com/6351052/diff/1002/src/pkg/net/http/fs_test.go#n...
src/pkg/net/http/fs_test.go:146: t.Errorf("range=%q: part Content-Range = %q;
want %q", rt.r, g, w)
continue?
Sign in to reply to this message.

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