Fossil SCM

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.

wyoung 2024-08-06 17:22 unix-sockets
Commit 28de3fab86bcc78579724b58a0e6233024b4110e936e728f65cb4f1a664a8319
1 file changed +1 -1
+1 -1
--- src/main.c
+++ src/main.c
@@ -3519,11 +3519,11 @@
35193519
fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
35203520
" " MANIFEST_VERSION " " MANIFEST_DATE);
35213521
#if !defined(_WIN32)
35223522
/* Unix implementation */
35233523
if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){
3524
- fossil_fatal("unable to listen on TCP socket %d", iPort);
3524
+ fossil_fatal("unable to listen on CGI socket");
35253525
}
35263526
/* For the parent process, the cgi_http_server() command above never
35273527
** returns (except in the case of an error). Instead, for each incoming
35283528
** client connection, a child process is created, file descriptors 0
35293529
** and 1 are bound to that connection, and the child returns.
35303530
--- src/main.c
+++ src/main.c
@@ -3519,11 +3519,11 @@
3519 fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
3520 " " MANIFEST_VERSION " " MANIFEST_DATE);
3521 #if !defined(_WIN32)
3522 /* Unix implementation */
3523 if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){
3524 fossil_fatal("unable to listen on TCP socket %d", iPort);
3525 }
3526 /* For the parent process, the cgi_http_server() command above never
3527 ** returns (except in the case of an error). Instead, for each incoming
3528 ** client connection, a child process is created, file descriptors 0
3529 ** and 1 are bound to that connection, and the child returns.
3530
--- src/main.c
+++ src/main.c
@@ -3519,11 +3519,11 @@
3519 fossil_setenv("SERVER_SOFTWARE", "fossil version " RELEASE_VERSION
3520 " " MANIFEST_VERSION " " MANIFEST_DATE);
3521 #if !defined(_WIN32)
3522 /* Unix implementation */
3523 if( cgi_http_server(iPort, mxPort, zBrowserCmd, zIpAddr, flags) ){
3524 fossil_fatal("unable to listen on CGI socket");
3525 }
3526 /* For the parent process, the cgi_http_server() command above never
3527 ** returns (except in the case of an error). Instead, for each incoming
3528 ** client connection, a child process is created, file descriptors 0
3529 ** and 1 are bound to that connection, and the child returns.
3530

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button