diff src/http/ngx_http_request.h @ 5201:06fbbde04098

Added r->limit_rate_after. As of now, it allows to better control bandwidth limiting from additional modules. It is also expected to be used to add variables support to the limit_rate_after directive.
author Maxim Dounin <mdounin@mdounin.ru>
date Sat, 11 May 2013 18:49:42 +0400
parents 9d83ec073c51
children 7ecaa9e4bf1b
line wrap: on
line diff
--- a/src/http/ngx_http_request.h
+++ b/src/http/ngx_http_request.h
@@ -420,6 +420,7 @@ struct ngx_http_request_s {
 #endif
 
     size_t                            limit_rate;
+    size_t                            limit_rate_after;
 
     /* used to learn the Apache compatible response length without a header */
     size_t                            header_size;