Re: keepalive and 5xx

2018-07-10 Thread Maxim Dounin
Hello! On Tue, Jul 10, 2018 at 04:59:43PM -0700, Frank Liu wrote: > When you say "Keepalive is automatically switched off...", do you mean > nginx will send "Connection: close" as part of the response? What happens > if client doesn't honor that, and keeps sending another request to the > existin

Re: keepalive and 5xx

2018-07-10 Thread Frank Liu
Hi Maxim, When you say "Keepalive is automatically switched off...", do you mean nginx will send "Connection: close" as part of the response? What happens if client doesn't honor that, and keeps sending another request to the existing connection? You also mentioned "error codes is generated by ng

Re: keepalive and 5xx

2018-07-10 Thread Maxim Dounin
Hello! On Mon, Jul 09, 2018 at 05:16:36PM -0700, Frank Liu wrote: > Does nginx automatically disconnect keepalive connection if 5xx response > code is generated? Not really. Keepalive is automatically switched off when a response with one of the following error codes is generated by nginx its

keepalive and 5xx

2018-07-09 Thread Frank Liu
Does nginx automatically disconnect keepalive connection if 5xx response code is generated? ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx