src/server/safs/cgi.c

changeset 522
317cd83fa3df
parent 521
536a2305f3fa
child 523
a37c3099b29d
equal deleted inserted replaced
521:536a2305f3fa 522:317cd83fa3df
307 307
308 int cgi_stdout_readevent(EventHandler *ev, Event *event) { 308 int cgi_stdout_readevent(EventHandler *ev, Event *event) {
309 CGIHandler *handler = event->cookie; 309 CGIHandler *handler = event->cookie;
310 310
311 if(handler->debug_finished) { 311 if(handler->debug_finished) {
312 log_ereport(LOG_DEBUG, "cgi-send: req: %p debug_finished: 1 cgi_stdout_readevent events: %d", handler->parser.rq, handler->events); 312 log_ereport(LOG_DEBUG, "cgi-send: req: %p debug_finished: 1 cgi_stdout_readevent events: %d", handler->parser->rq, handler->events);
313 } 313 }
314 314
315 event->finish = cgi_event_finish; 315 event->finish = cgi_event_finish;
316 handler->writeev->finish = NULL; 316 handler->writeev->finish = NULL;
317 CgiIOResult ret = cgi_read_output(handler, ev); 317 CgiIOResult ret = cgi_read_output(handler, ev);

mercurial