Details
Assignee
UnassignedUnassignedReporter
Dominic WatsonDominic WatsonNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
New
Details
Details
Assignee
Unassigned
UnassignedReporter
Dominic Watson
Dominic WatsonNew Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Priority
Created 6 December 2020 at 22:26
Updated 9 January 2023 at 11:00
Every time
GetHTTPRequestData()
is called (without settingincludeBody=false
), the request body is read into memory.If you upload a large file, for example, and happen to call
getHttpRequestData()
in lots of places, this causes an additional and considerable burden on the request memory footprint.Suggestion: if possible, only parse the body the first time it is requested. Subsequent calls can then just refer to this by reference.