Skip to content
Myr

Merge branch 'integration'

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parents b2093d6, fbfba21 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:lib/express/core.js+2 added-1 removed
226 unmodified lines
227 self.route(request)228 }229 if (request.header('content-type') &&230 request.header('content-type').includes('multipart/form-data')) {231 var stream = multipart.parse(req),231 var stream,232 contentLength = parseInt(request.header('content-length')),233 maxBodyLength = set('max upload size')234 if (maxBodyLength && contentLength > maxBodyLength)235 return callback(new Error('upload size limit exceeded'))236 stream = multipart.parse(req)237 stream238 .addListener('partBegin', function(part) {239 if (part.filename)240 ++pendingFiles,
94 unmodified lines