From 46cceb0465c5d582d59ce680de13d4e61f25dfe3 Mon Sep 17 00:00:00 2001 From: Unbit Date: Sat, 30 Nov 2013 14:30:22 +0000 Subject: [PATCH] croak if the psgi streamer fails --- plugins/psgi/psgi_loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/psgi/psgi_loader.c b/plugins/psgi/psgi_loader.c index ead460c7..420b71d3 100644 --- a/plugins/psgi/psgi_loader.c +++ b/plugins/psgi/psgi_loader.c @@ -149,7 +149,7 @@ XS(XS_streaming_write) { uwsgi_response_write_body_do(wsgi_req, body, blen); uwsgi_pl_check_write_errors { - // noop + croak("error while streaming PSGI response"); } XSRETURN(0);