How does FastCGI work under the covers?

Maxim Dounin mdounin at mdounin.ru
Mon Jul 1 16:51:19 UTC 2013


Hello!

On Mon, Jul 01, 2013 at 11:57:21AM -0400, kgk wrote:

> Hello Maxim,
> 
> Thank you so much for answering my previous questions!  Now I have a few
> more:
> 
> 1.  Will Nginx provide a FastCGI request only when it is 100% complete,
> i.e., the browser has provided every necessary byte?

Yes.

> 2.  Will Nginx always accept 100% of a FastCGI response and hold it inside
> internal buffers (or on disk), and not wait for the client (= web browser)?

Depends on configuration, see http://nginx.org/r/fastcgi_max_temp_file_size.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list