Fossil SCM

Fix the build for windows. The idle-timeout is still not implemented in the Windows HTTP server, though.

drh 2020-04-09 16:34 idle-timeout
Commit 1d7e2fa6971cf2c520220d54c9c4292ddd2f7a24131e2f076ac0baac934ee4fd
1 file changed +1 -1
+1 -1
--- src/winhttp.c
+++ src/winhttp.c
@@ -848,11 +848,11 @@
848848
win32_report_service_status(SERVICE_START_PENDING, NO_ERROR, 3000);
849849
850850
/* Execute the http server */
851851
win32_http_server(hsData.port, hsData.port,
852852
NULL, NULL, hsData.zBaseUrl, hsData.zNotFound,
853
- hsData.zFileGlob, 0, hsData.flags);
853
+ hsData.zFileGlob, 0, 0, hsData.flags);
854854
855855
/* Service has stopped now. */
856856
win32_report_service_status(SERVICE_STOPPED, NO_ERROR, 0);
857857
return;
858858
}
859859
--- 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

Keyboard Shortcuts

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