[fpc-pascal] Threaded webserver and TJSONRPCModule instances: can I be sure there's only one?
Luca Olivetti
luca at ventoso.org
Fri Oct 21 09:31:39 CEST 2022
Hello,
I'm using a TFPHTTPServerHandler in threaded mode.
I'm also using a TJSONRpcModule.
I see that, even if the calls come from different threads, only one
instance of the rpc module is ever created (on demand, the first time an
rpc request comes in) and used.
Since I'm relying on this behaviour, can I be 100% sure it's by design
and not a quirk of my test setup?
Bye
--
Luca
More information about the fpc-pascal
mailing list