Check-in [0a473cd553]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make repository listing works in windows when doing "fossil all server". See forum thread [forum:b597b5df8843daaa]
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 0a473cd5533f5bb22ead6afa508b339cd5705487cdea056e243db9f43f696e6d
User & Date: mgagnon 2024-09-04 14:08:32.958
Original Comment: Make repository listing works in windows when doing "fossil all server".
References
2025-03-02
18:57
Remove an extraneous call of find_server_repository() in win32 implementation of server/ui, added by [0a473cd5533f5bb2]. The extra call to find_server_repository() unnecessary lock which prevent "fossil close" from deleting the checkout db while a server instance is running. (reported in forum post: [forum:e7f3472c46eae4bd]) check-in: 28436ab9d5 user: mgagnon tags: trunk
Context
2024-09-05
09:19
In the 'unsaved changes' error of the patch command, make it explicit that the patch cannot be applied (because it otherwise comes across as informational, not an error). check-in: 8c5faa368f user: stephan tags: trunk
2024-09-04
14:08
Make repository listing works in windows when doing "fossil all server". See forum thread [forum:b597b5df8843daaa] check-in: 0a473cd553 user: mgagnon tags: trunk
11:15
Detect better missing load average support, for example in Termux. check-in: 50ba8d8d05 user: danield tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/main.c.
3570
3571
3572
3573
3574
3575
3576




3577
3578
3579
3580
3581
3582
3583
  if( g.httpUseSSL && g.httpSSLConn ){
    ssl_close_server(g.httpSSLConn);
    g.httpSSLConn = 0;
  }
#endif /* FOSSIL_ENABLE_SSL */

#else /* WIN32 */




  /* 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);







>
>
>
>







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);