Welcome! Log In Create A New Profile

Advanced

proxy_ignore_client_abort ignored

André Luiz dos Santos
February 03, 2011 12:40PM
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 ...
}

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_ignore_client_abort ignored

André Luiz dos Santos February 03, 2011 12:40PM

Re: proxy_ignore_client_abort ignored

Maxim Dounin February 03, 2011 12:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready