mdounin at mdounin.ru
Wed Mar 6 15:44:00 UTC 2013
On Wed, Mar 06, 2013 at 04:45:33PM +0200, Kiril Kalchev wrote:
> Just for the record, I think I found a kind of solution. It
> looks good if my backend returns http codes 3xx. I have tried
> with 333 and 334 and it looks great. I know it is an ugly hack,
> but my findings may help to other poor souls. I hope this
> behavior will not change in the next versions.
I would suppose it works as these responses are returned with
"Content-Length: 0" by your backend. As already mentioned in the
very first reply, connections are kept alive if it's known from
response headers that there is no body.
More information about the nginx