http.server.request.size
HTTP request body sizeDimensions:None
Technical Annotations (24)
Configuration Parameters (4)
max-request-sizerecommended: 10MBmax_part_sizerecommended: 50 * 1024 * 1024max_file_sizerecommended: 20 * 1024 * 1024starlette.versionrecommended: >=0.40.0Error Signatures (6)
ValueError: unexpected end of streamexceptionException on /predict [POST]log patternPart exceeded maximum size of 1024KB.log pattern400http statusOOM errorerror codeCVE-2024-47874error codeCLI Commands (1)
curl http://localhost:8000 -F 'big=</dev/urandom'diagnosticTechnical References (13)
MultiFileInput adaptercomponentwerkzeug.formparsercomponent/predictcomponentStreamingResponsecomponentclient_max_body_sizecomponentASGI receive callablecomponentAPM transactionconceptMultiPartParsercomponentrequest.form()componentSpooledTemporaryFilecomponentmultipart/form-dataprotocolASGIprotocolfilenamecomponentRelated Insights (7)
Request size limits prevent resource exhaustioninfo
▸
Multipart form parsing failure under concurrent loadwarning
▸
Unbounded upload size exhausts memory in Starlette applicationswarning
▸
APM transaction timing excludes request body streaming latencywarning
▸
Form data exceeding 1MB causes HTTP 400 errors since Starlette 0.40.0warning
▸
Unbounded memory allocation from multipart form data without filename causes OOMcritical
▸
Unbounded form field buffering causes memory exhaustioncritical
▸