add more debug logging to cgi_stdout_readevent

Sun, 02 Jun 2024 18:56:43 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 02 Jun 2024 18:56:43 +0200
changeset 535
bf07abfe7f0a
parent 534
bf62eddbdb9b
child 536
e95fa761db0c

add more debug logging to cgi_stdout_readevent

src/server/safs/cgi.c file | annotate | diff | comparison | revisions
--- a/src/server/safs/cgi.c	Sun Jun 02 16:36:02 2024 +0200
+++ b/src/server/safs/cgi.c	Sun Jun 02 18:56:43 2024 +0200
@@ -318,6 +318,7 @@
         // if it is true here, the cgi handling was finished by cgi_writeevent
         // in that case, cgi_writeevent will finish the request processing
         // and nothing needs to be done here
+        log_ereport(LOG_DEBUG, "cgi-send: req: %p readevent cgi_eof = TRUE result: %d", handler->parser->rq, handler->result);
         handler->wait_read = FALSE;
         event->finish = NULL;
         return 0;

mercurial