My nginx server is buffering all data POSTed by client, and when it has all data, it writes the data to fastcgi socket. How can we avoid that delay, and let fastcgi start receiving the data bit-by-bit, as soon as it's received from client ? I tried to play with fastcgi settings but no luck. Thanks
as far as I know this is not possible
1) client_body_buffer_size is the directive which handles the client request buffer size. This is used to handle POST data, meaning form submissions, file uploads etc.
2) Buffering can't be disabled for fastcgi. Maxim Dounin explained that in details here http://www.ruby-forum.com/topic/197216