src/server/safs/cgi.c

changeset 535
bf07abfe7f0a
parent 534
bf62eddbdb9b
child 536
e95fa761db0c
equal deleted inserted replaced
534:bf62eddbdb9b 535:bf07abfe7f0a
316 if(handler->cgi_eof || handler->result == REQ_ABORTED) { 316 if(handler->cgi_eof || handler->result == REQ_ABORTED) {
317 // cgi_eof will be set to true by cgi_read_output 317 // cgi_eof will be set to true by cgi_read_output
318 // if it is true here, the cgi handling was finished by cgi_writeevent 318 // if it is true here, the cgi handling was finished by cgi_writeevent
319 // in that case, cgi_writeevent will finish the request processing 319 // in that case, cgi_writeevent will finish the request processing
320 // and nothing needs to be done here 320 // and nothing needs to be done here
321 log_ereport(LOG_DEBUG, "cgi-send: req: %p readevent cgi_eof = TRUE result: %d", handler->parser->rq, handler->result);
321 handler->wait_read = FALSE; 322 handler->wait_read = FALSE;
322 event->finish = NULL; 323 event->finish = NULL;
323 return 0; 324 return 0;
324 } 325 }
325 326

mercurial