Differences From Artifact [8f88afb2f8]:
- File src/main.c — part of check-in [898a70ce82] at 2024-08-27 11:06:50 on branch trunk — Move the file-specific definitions of the isatty() and fileno() macros into util.c's fossil_isatty() and fossil_fileno() in prep for an upcoming change which needs isatty(). (user: stephan size: 133308)
To Artifact [09de277fb9]:
- File src/main.c — part of check-in [0a473cd553] at 2024-09-04 14:08:32 on branch trunk — Make repository listing works in windows when doing "fossil all server". See forum thread [forum:b597b5df8843daaa] (user: mgagnon size: 133416) [more...]
| ︙ | |||
3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 | 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 | + + + + |
if( g.httpUseSSL && g.httpSSLConn ){
ssl_close_server(g.httpSSLConn);
g.httpSSLConn = 0;
}
#endif /* FOSSIL_ENABLE_SSL */
#else /* WIN32 */
find_server_repository(2, 0);
if( fossil_strcmp(g.zRepositoryName,"/")==0 ){
allowRepoList = 1;
}
/* Win32 implementation */
if( allowRepoList ){
flags |= HTTP_SERVER_REPOLIST;
}
if( win32_http_service(iPort, zAltBase, zNotFound, zFileGlob, flags) ){
win32_http_server(iPort, mxPort, zBrowserCmd, zStopperFile,
zAltBase, zNotFound, zFileGlob, zIpAddr, flags);
|
| ︙ |