proxy_ignore_client_abort ignored

André Luiz dos Santos andre.netvision.com.br at gmail.com
Thu Feb 3 20:35:50 MSK 2011


Is 'proxy_ignore_client_abort' ignored when either 'proxy_cache' or
'proxy_store' is set?
I have tried setting it to 'on' and 'off', but nginx/0.9.4 continues
to download large files even after the requesting client has already
disconnected.

The documentation at wiki.nginx.org doesn't mention any exceptions to
when 'proxy_ignore_client_abort' may be used.

Server block configuration:
...
server {
listen 172.1.1.1:8181;
server_name nginx.home;

location / {
  root /usr/local/www/nginx_cache/files;
  try_files "/id=$arg_id.itag=$arg_itag" @proxy;
}
location @proxy {
  resolver 8.8.8.8;
  proxy_pass http://$host$request_uri;
  proxy_ignore_client_abort off;
  proxy_temp_path "/usr/local/www/nginx_cache/tmp";
  proxy_store "/usr/local/www/nginx_cache/files/id=$arg_id.itag=$arg_itag";
  # Tested with 'proxy_cache' as well.
}
# ... default location = /50x.html ...
}



More information about the nginx mailing list