]> Cypherpunks repositories - gostls13.git/commit
[release-branch.r57] mime/multipart: fix regression from previous ReadSlice change
authorRuss Cox <rsc@golang.org>
Tue, 3 May 2011 05:15:56 +0000 (01:15 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 3 May 2011 05:15:56 +0000 (01:15 -0400)
commitd00421a6b15132e17ae2b2cb64b8a2b66366a857
tree0f6b64d9124859d627087b4a769209176430c590
parentb69a3207814553600c5bcb12e11cc44a2c767e52
[release-branch.r57] mime/multipart: fix regression from previous ReadSlice change

««« CL 4432083 / 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
https://golang.org/cl/4432083
»»»

R=adg
CC=golang-dev
https://golang.org/cl/4452062
src/pkg/mime/multipart/multipart.go
src/pkg/mime/multipart/multipart_test.go