Re: fphttpserver: reduce the stack size of the thread spawned for threaded server
Luca Olivetti via fpc-pascal <[email protected]> Mon, 18 May 2026 22:05:29 +0200
| Newsgroups | gmane.comp.compilers.free-pascal.general |
|---|---|
| Message-ID | <[email protected]> |
El 18/5/26 a les 21:59, Michael Van Canneyt via fpc-pascal ha escrit: >> >> what other options do I have? > > At this moment, none. The best I can do is add a class variable to allow > you to > set its class-type value to a TFPHTTPConnectionThread class descendant, > then that descendant would be used. Then you set this variable at the > start. > > Another option is to create a ConnectionThreadStackSize variable that would > be used to set the stack size. Thank you, but both options would require an upgraded fpc/fcl, in that case I could simply modify my copy of fphttpserver.pp to use a different stack size. I'll see if I find a way of changing the stack size while keeping the fpc3.2.2 sources pristine. Bye -- Luca _______________________________________________ fpc-pascal maillist - [email protected] https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal