add WINIX_STARTED plugin message

This commit is contained in:
Tomasz Sowa 2022-10-19 14:26:34 +02:00
parent f050fc2316
commit 99fbf6ca27
2 changed files with 4 additions and 0 deletions

View File

@ -908,6 +908,7 @@ void App::Start()
Winix::Lock lock(synchro);
was_stop_signal = synchro.was_stop_signal;
fcgi_request = &cur.request->fcgi_request;
plugin.Call(WINIX_STARTED);
}
while( !was_stop_signal && FCGX_Accept_r(fcgi_request) == 0 )

View File

@ -316,6 +316,9 @@ namespace Winix
// this can be called from a different thread but with locking
#define WINIX_SAVE_FILELOG 31090
// this message is sent when winix has been started
// it is called from the main thread (with locking)
#define WINIX_STARTED 31100
/*