Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
| Comment: | Changed a fatal error message speaking of the TCP socket's port number in a call to a function that may now use a Unix socket instead. |
|---|---|
| Downloads: | Tarball | ZIP archive |
| Timelines: | family | ancestors | descendants | both | unix-sockets |
| Files: | files | file ages | folders |
| SHA3-256: |
28de3fab86bcc78579724b58a0e62330 |
| User & Date: | wyoung 2024-08-06 17:22:51.961 |
Context
|
2024-08-06
| ||
| 20:30 | Get --socket-owner working. ... (check-in: efc7475e18 user: drh tags: unix-sockets) | |
| 17:22 | Changed a fatal error message speaking of the TCP socket's port number in a call to a function that may now use a Unix socket instead. ... (check-in: 28de3fab86 user: wyoung tags: unix-sockets) | |
| 15:00 | Change --unix-socket to --socket-name. Add --socket-mode and --socket-owner. Mostly working, accept that --socket-owner seemingly has no effect, even though the fchown() return 0. There is currently a debugging printf() in that line of code. This is an experimental check-in. ... (check-in: 9f71e5cc02 user: drh tags: unix-sockets) | |
Changes
Changes to src/main.c.
| ︙ | ︙ | |||
3517 3518 3519 3520 3521 3522 3523 |
/* Start up an HTTP server
*/
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
" " MANIFEST_VERSION " " MANIFEST_DATE);
#if !defined(_WIN32)
/* Unix implementation */
if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){
| | | 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 |
/* Start up an HTTP server
*/
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
" " MANIFEST_VERSION " " MANIFEST_DATE);
#if !defined(_WIN32)
/* Unix implementation */
if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){
fossil_fatal("unable to listen on CGI socket");
}
/* For the parent process, the cgi_http_server() command above never
** returns (except in the case of an error). Instead, for each incoming
** client connection, a child process is created, file descriptors 0
** and 1 are bound to that connection, and the child returns.
**
** So, when control reaches this point, we are running as a
|
| ︙ | ︙ |