post-W7 cleanup

This commit is contained in:
root
2026-06-15 12:31:33 +00:00
parent 1a5c6547b9
commit 762b586242
4 changed files with 95 additions and 9 deletions
+1
View File
@@ -982,6 +982,7 @@ void run_ws_broker()
close_inherited_server_sockets(); // drop the worker listeners we inherited
install_process_fault_handlers();
ws_broker.calls_until_termination = -1;
ws_broker.http_document_root = first(server_state.config["HTTP_DOCUMENT_ROOT"], path_join(server_state.config["COMPILER_SYS_PATH"], server_state.config["SITE_DIRECTORY"]));
// The broker renders nothing itself, so accept every request through to
// on_complete (it either forwards to the pool or applies a ws_* batch).
ws_broker.on_request = [](FastCGIRequest&) { return 0; };