Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Silently ignores when buffering request fails #74
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.