Since I did a bit of digging into this I thought I'd sent a short
message about it to the list since there wasn't anything equally
informative online when I searched.

When upgrading to 1.9.20 to 2.0 we started getting "error while
streaming PSGI response" errors on various live requests when calling
$writer->write($part) when using the streaming PSGI API.

It turned out that this was happening all along before 2.0, but was
just being silently ignored, this is the relevant commit that first
appeared in 1.9.21: https://github.com/unbit/uwsgi/commit/46cceb0

This happens when a client aborts a request on their side, I solved it
just by wrapping the ->write() call in an eval and logging when this
happens.
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to