Differences From Artifact [71dca7a6d7]:
- File src/main.c — part of check-in [5caa3c5ceb] at 2023-03-10 19:17:51 on branch trunk — Improvements to the new security-audit feature that shows the command-line that launched the process that generated the web page. (user: drh size: 128084) [more...]
To Artifact [ed88f6570f]:
- File src/main.c — part of check-in [a0b0d8f998] at 2023-05-06 20:21:58 on branch trunk — Added explicit SIGINT handler for the rootful container (PID 1) case, so you can Ctrl-C it when "run -it". (user: wyoung size: 128118) [more...]
| ︙ | |||
3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 | 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 | + |
** allow the container to shut down quickly.
**
** This has to happen ahead of the other signal() calls below.
** They apply after the HTTP hit is handled, but this one needs
** to be registered while we're waiting for that to occur.
**/
signal(SIGTERM, fossil_exit);
signal(SIGINT, fossil_exit);
}
#endif /* !WIN32 */
/* Start up an HTTP server
*/
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
" " MANIFEST_VERSION " " MANIFEST_DATE);
|
| ︙ |