Wed, 22 May 2024 20:44:00 +0200
fix don't try to enable pollout if it is already active (cgi)
src/server/safs/cgi.c | file | annotate | diff | comparison | revisions |
--- a/src/server/safs/cgi.c Sun May 19 16:53:37 2024 +0200 +++ b/src/server/safs/cgi.c Wed May 22 20:44:00 2024 +0200 @@ -320,6 +320,9 @@ } case CGI_IO_NEED_WRITE: { // writeev is only enabled, if needed + if(handler->poll_out) { + return 1; + } if(event_pollout(ev, handler->parser->sn->csd, handler->writeev)) { handler->result = REQ_ABORTED; } else {