| From | Sent On | Attachments |
|---|---|---|
| Andrea Soracchi | Mar 2, 2012 4:38 am | .Other, .conf, .Other, 2 more |
| Maxim Dounin | Mar 2, 2012 5:08 am | |
| Max | Mar 2, 2012 5:15 am | |
| Maxim Dounin | Mar 2, 2012 5:51 am | |
| Andrea Soracchi | Mar 2, 2012 7:52 am | |
| Max | Mar 2, 2012 8:27 am | |
| Piotr Sikora | Mar 2, 2012 8:33 am | |
| Max | Mar 2, 2012 8:48 am | |
| Maxim Dounin | Mar 2, 2012 10:01 am | |
| Piotr Sikora | Mar 4, 2012 5:39 am | |
| Maxim Dounin | Mar 4, 2012 9:40 am | |
| Piotr Sikora | Mar 4, 2012 12:35 pm | |
| Piotr Sikora | Mar 4, 2012 1:08 pm | |
| Maxim Dounin | Mar 15, 2012 11:42 am |
| Subject: | Re: Latency problem with one browser | |
|---|---|---|
| From: | Piotr Sikora (piot...@frickle.com) | |
| Date: | Mar 2, 2012 8:33:28 am | |
| List: | ru.sysoev.nginx | |
Hi,
Just for the record - keepalive_disable is set to msie6 and safari by default, but using the keepalive_disable directive explicitly disables keepalive for the specified arguments and implicitly enables (by not disabling) keepalive for all the other possible arguments.
So to enable keepalive for a browser that has keepalive disabled by default (which currently includes msie6 and safari) you have to use "keepalive_disable ID;", where ID is anything but the ID of the browser you want to enable keepalive for.
This disables keepalive for msie6 and implicitly enables keepalive for safari and all the other browsers:
keepalive_disable msie6;
This disables keepalive for safari and implicitly enables keepalive for msie6 and all the other browsers:
keepalive_disable safari;
This disables keepalive for safari and browser "none", and implicitly enables keepalive for msie6, but not due to the "none" argument:
keepalive_disable none safari;
That's because "none" does not actually reset the keepalive_disable variable to zero, it's implemented as another browser (2nd bit in the keepalive_disable browser bitmap), so specifying "none" as a single argument disables keepalive only for browser "none" and implicitly enables it for all the other browsers.
I know this directive is a workaround in the first place, but it would be nice if this were documented in the official documentation.
It is: http://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_disable
Best regards, Piotr Sikora < piot...@frickle.com >
_______________________________________________ nginx mailing list ngi...@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx






.Other, .conf, .Other, 2 more