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

Issue 4432083: code review 4432083: mime/multipart: fix regression from previous ReadSlice ... (Closed)

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

Description

mime/multipart: fix regression from previous ReadSlice change The previous change to make multipart use ReadSlice out of paranoia broke multipart to not deal with large lines in the bodies. We should only be paranoid about long lines in the header sections. Fixes http://code.google.com/p/camlistore/issues/detail?id=4

Patch Set 1 #

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

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

Total comments: 17

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+195 lines, -129 lines) Patch
M src/pkg/mime/multipart/multipart.go View 1 2 3 6 chunks +93 lines, -106 lines 0 comments Download
M src/pkg/mime/multipart/multipart_test.go View 1 2 6 chunks +102 lines, -23 lines 0 comments Download

Messages

Total messages: 5
bradfitz
Hello agl (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years ago (2011-05-01 02:28:12 UTC) #1
bradfitz
Whoops, that was for adg, not agl. Can't type.
13 years ago (2011-05-01 02:29:02 UTC) #2
adg
LGTM Can't believe the process we went through to get here... http://codereview.appspot.com/4432083/diff/4001/src/pkg/mime/multipart/multipart.go File src/pkg/mime/multipart/multipart.go (right): ...
13 years ago (2011-05-01 02:41:51 UTC) #3
bradfitz
http://codereview.appspot.com/4432083/diff/4001/src/pkg/mime/multipart/multipart.go File src/pkg/mime/multipart/multipart.go (right): http://codereview.appspot.com/4432083/diff/4001/src/pkg/mime/multipart/multipart.go#newcode133 src/pkg/mime/multipart/multipart.go:133: peek, err := bp.mr.bufReader.Peek(4096) // TODO: add buffer size ...
13 years ago (2011-05-01 02:49:27 UTC) #4
bradfitz
13 years ago (2011-05-01 02:54:39 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=698b5ea9c782 ***

mime/multipart: fix regression from previous ReadSlice change

The previous change to make multipart use ReadSlice out of
paranoia broke multipart to not deal with large lines in
the bodies.

We should only be paranoid about long lines in the header
sections.

Fixes http://code.google.com/p/camlistore/issues/detail?id=4

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

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