Descriptionundo CL 95760043 / b2131d729e52
Breaks Camlistore by introducing a datarace. See comments on
https://codereview.appspot.com/95760043/ for details.
I'll add a new test to lock-in the current behavior in a
subsequent CL.
I don't think Camlistore is particularly unique here: it's doing
the obvious thing to stream a multipart body to a server
using a goroutine feeding the multipart writer.
««« original CL description
mime/multipart: delay reading random source
If a user sets his/her own boundary string with SetBoundary,
we don't need to call randomBoundary at all.
LGTM=bradfitz
R=golang-codereviews, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/95760043
»»»
Patch Set 1 #Patch Set 2 : diff -r 333b975e98c2 https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 71dc1b4815f2 https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|