IIS php fastcgi and chunked request body
I've found out IIS doesn't support a chunked request bodies, eg.
I found a mention:
In HTTP/1.1, chunked transfer encoding is primarily a server-side response mechanism. The specification (RFC 9112, previously RFC 7230 and RFC 2616) defines chunked encoding as a way for the server to send responses when the content length is unknown in advance.
However, HTTP/1.1 does allow chunked requests, but support for them is optional for servers. Many web servers, including IIS, do not support chunked request bodies, meaning they do not accept incoming requests that use chunked transfer encoding.
Anyway. In my scenario the curl never returns and still blocks a IIS/php-cgi.exe process. On a second request it starts second php fastcgi php-cgi.exe process untill a maximum configured (eg. 16).
In that case everything is blocked and no other clients like browser are served by php-cgi.
Still I can get a static content but the php application is stucked.
Why IIS doesn't respond something like HTTP 400 Bad Request etc. ?
Can I still configure IIS to accept chunked request bodies?
Jan.