Considering the following sequence of events:
1. A client makes a connection with Nginx, no data is sent as yet
2. Nginx receives a SIGQUIT,graceful shutdown signal
2a. If there is no data from client, Nginx waits till "client_header_timeout" value before closing the connection and proceeding the shutdown
2b. If client sends a request before the above timeout, Nginx closes the connection after serving the request.
Is that correct behavior? Shouldn't Nginx close the idle connections immediately after receiving the shutdown signal?
1. A client makes a connection with Nginx, no data is sent as yet
2. Nginx receives a SIGQUIT,graceful shutdown signal
2a. If there is no data from client, Nginx waits till "client_header_timeout" value before closing the connection and proceeding the shutdown
2b. If client sends a request before the above timeout, Nginx closes the connection after serving the request.
Is that correct behavior? Shouldn't Nginx close the idle connections immediately after receiving the shutdown signal?