Fossil SCM
Fix the build for windows. The idle-timeout is still not implemented in the Windows HTTP server, though.
Commit
1d7e2fa6971cf2c520220d54c9c4292ddd2f7a24131e2f076ac0baac934ee4fd
Parent
58dbde20c4bf19a…
1 file changed
+1
-1
+1
-1
| --- src/winhttp.c | ||
| +++ src/winhttp.c | ||
| @@ -848,11 +848,11 @@ | ||
| 848 | 848 | win32_report_service_status(SERVICE_START_PENDING, NO_ERROR, 3000); |
| 849 | 849 | |
| 850 | 850 | /* Execute the http server */ |
| 851 | 851 | win32_http_server(hsData.port, hsData.port, |
| 852 | 852 | NULL, NULL, hsData.zBaseUrl, hsData.zNotFound, |
| 853 | - hsData.zFileGlob, 0, hsData.flags); | |
| 853 | + hsData.zFileGlob, 0, 0, hsData.flags); | |
| 854 | 854 | |
| 855 | 855 | /* Service has stopped now. */ |
| 856 | 856 | win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0); |
| 857 | 857 | return; |
| 858 | 858 | } |
| 859 | 859 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -848,11 +848,11 @@ | |
| 848 | win32_report_service_status(SERVICE_START_PENDING, NO_ERROR, 3000); |
| 849 | |
| 850 | /* Execute the http server */ |
| 851 | win32_http_server(hsData.port, hsData.port, |
| 852 | NULL, NULL, hsData.zBaseUrl, hsData.zNotFound, |
| 853 | hsData.zFileGlob, 0, hsData.flags); |
| 854 | |
| 855 | /* Service has stopped now. */ |
| 856 | win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0); |
| 857 | return; |
| 858 | } |
| 859 |
| --- src/winhttp.c | |
| +++ src/winhttp.c | |
| @@ -848,11 +848,11 @@ | |
| 848 | win32_report_service_status(SERVICE_START_PENDING, NO_ERROR, 3000); |
| 849 | |
| 850 | /* Execute the http server */ |
| 851 | win32_http_server(hsData.port, hsData.port, |
| 852 | NULL, NULL, hsData.zBaseUrl, hsData.zNotFound, |
| 853 | hsData.zFileGlob, 0, 0, hsData.flags); |
| 854 | |
| 855 | /* Service has stopped now. */ |
| 856 | win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0); |
| 857 | return; |
| 858 | } |
| 859 |