You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starman ignores errors while buffering the full request body.
When the TEMPDIR is full Plack::TempBuffer->print() would return 0 and set $! to ENOSPC. But this possible error is not catched by Starman. This means that the application will get a silently truncated body with the expectation that buffering succeeded.
Starman should either die (or better return with status code 413) or stop transparently buffering (which might be hard) when printing to the buffer fails.
The text was updated successfully, but these errors were encountered:
Starman ignores errors while buffering the full request body.
When the TEMPDIR is full Plack::TempBuffer->print() would return 0 and set $! to ENOSPC. But this possible error is not catched by Starman. This means that the application will get a silently truncated body with the expectation that buffering succeeded.
Starman should either die (or better return with status code 413) or stop transparently buffering (which might be hard) when printing to the buffer fails.
The text was updated successfully, but these errors were encountered: