Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | At the end of CGI processing, close the output pipe before starting backoffice processing, in order to let higher levels know that the CGI is finished. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
a32a92d227be56631b204ef761e05121 |
| User & Date: | drh 2018-07-19 15:58:36.438 |
Context
|
2018-07-19
| ||
| 16:27 | Improved SQL logging after SIGPIPE. Exponential backoff in the warnings issued when the backoffice process misses its deadline. ... (check-in: f525b6d5e9 user: drh tags: trunk) | |
| 15:58 | At the end of CGI processing, close the output pipe before starting backoffice processing, in order to let higher levels know that the CGI is finished. ... (check-in: a32a92d227 user: drh tags: trunk) | |
| 15:52 | Backoffice only runs for successful webpage that have the database open. Add "refresh" and "Show All" buttons on the /errorlog page. ... (check-in: aa17077eaf user: drh tags: trunk) | |
Changes
Changes to src/cgi.c.
| ︙ | ︙ | |||
342 343 344 345 346 347 348 349 350 351 352 353 354 355 |
fflush(g.httpOut);
CGIDEBUG(("DONE\n"));
/* After the webpage has been sent, do any useful background
** processing.
*/
if( g.db!=0 && iReplyStatus==200 ){
backoffice_run();
}
}
/*
** Do a redirect request to the URL given in the argument.
**
| > > | 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 |
fflush(g.httpOut);
CGIDEBUG(("DONE\n"));
/* After the webpage has been sent, do any useful background
** processing.
*/
if( g.db!=0 && iReplyStatus==200 ){
fclose(g.httpOut);
g.httpOut = fossil_fopen("/dev/null", "wb");
backoffice_run();
}
}
/*
** Do a redirect request to the URL given in the argument.
**
|
| ︙ | ︙ |