• Steven Hartland's avatar
    mime/multipart: Allow ReadForm to process large non-file parts · d79ec64f
    Steven Hartland authored
    Allow the memory limit passed into ReadForm to be used as the
    memory limit for processing non-file form data as well as file
    form data, rather than the existing behaviour of the memory limit
    only applying to the file parts and the non-file parts being
    arbitrarily limited to 10MB.
    
    This ensures backwards compatibility while still providing the
    user with control over the amount of non-file data that can be
    processed instead of enforcing an arbitrary 10MB limit.
    
    Change-Id: I53c09eae00147d3ff2d6bdfd4e50949267932c3d
    Reviewed-on: https://go-review.googlesource.com/38195Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    d79ec64f
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...