proxy_ignore_client_abort not working on linux

Maxim Dounin mdounin at mdounin.ru
Thu Dec 1 14:17:50 UTC 2016


Hello!

On Wed, Nov 30, 2016 at 06:31:51PM -0500, badtzhou wrote:

> I can't get proxy_ignore_client_abort to work correctly on linux. The
> default option is off. But when I proxy a large cacheable file, nginx
> doesn't close the backend connection right away when client abort the
> request. The backend connection was not closed until the entire file has
> been buffered and cached.
> Any idea why? Thanks!

That's expected.  When caching and/or storing a file with 
proxy_store, nginx always ignores client aborts and finishes 
loading a file.

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list