Hello! On Tue, Dec 16, 2014 at 05:24:42PM +0000, Dani Bento wrote:
> Thanks for the reply. > > We looked at your module and found it interesting that you > avoided to change the core. > > Our code marks each buffer flush individually. We can control the ToS > for each request even when using keep-alive (using the X-Accel-ClassID > header). After the response has been sent the ToS is reset back to the > default (location configuration). > > In your module you mark only at the beginning of the response (at the > header filter stage). Don't you have problems with different > requests using the same connection? If you want ToS to be reset, you can use "ip_tos 0x00;" by default, see example here: http://mdounin.ru/hg/ngx_http_ip_tos_filter_module/file/tip/README > You can only have one ToS mark for > each location if you relying on a static configuration. Can it be > set by variable "tos $class_id" ? Not now, but this can be added if needed - like it was recently added to the "expires" directive, see http://hg.nginx.org/nginx/rev/4983f7d18fe3. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-devel