[nginx balancer problem]

Alexis Rodríguez arodriguez at inconcertcc.com
Thu Dec 15 22:49:20 UTC 2011


Francis,

Thanks for your response, we solved it using "proxy_buffering off"!!!

bye

On Thu, Dec 15, 2011 at 8:45 PM, Francis Daly <francis at daoine.org> wrote:

> On Thu, Dec 15, 2011 at 04:23:07PM -0200, Alexis Rodríguez wrote:
>
> Hi there,
>
> > Let me describe our situation, we receive from nginx a request, we write
> on
> > the socket without closing the connection, but nginx did not response to
> > the client until we close the connection!.
>
> In testing here, I "proxy_pass" to the upstream, and "proxy_buffering off"
> causes the http response body to be sent to the client as it is generated.
>
> Nothing is sent to the client until after the http response headers
> are complete.
>
> (The test upstream is a simple HTTP/1.0 server running a shell-cgi
> script where I can put "sleep 3" in between "echo output" lines, so I
> know exactly when things are sent by the upstream.)
>
> > Directives already tried:
> >
> > * keepalive_timeout 0;
> > * proxy_buffering off;
> >
> > There is something left to try?
>
> Does the simple test above work for you?
>
> How is nginx configured to connect to your web servers? How do your web
> servers respond?
>
> Good luck with it,
>
>        f
> --
> Francis Daly        francis at daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20111215/3d43d910/attachment.html>


More information about the nginx mailing list