I'm comparing two approaches, CGI and FCGI. Both program share the same webmodules and datamodule. The internal processes are the same.
Only one thing: when the client try to download a rather large dataset (it is downloaded as TStream), CGI works fine, but FCGI issues 500 error. I extended action timeout, etc. of IIS FastCGI setup, but none had effect. (Windows Server 2019)
Currently FCGI only processes one request.
I asked AI, but no satisfactory answer. What could be possible reason?