aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.h
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2013-05-11 18:49:42 +0400
committerMaxim Dounin <mdounin@mdounin.ru>2013-05-11 18:49:42 +0400
commitc3dea40b4596d480b8f4efa586ae052484509733 (patch)
tree142131edfe51688caa856bc12027c9964172bf16 /src/http/ngx_http_request.h
parent9cff79927a2c4a04df3d92681e4963cd1a4dee3f (diff)
downloadnginx-c3dea40b4596d480b8f4efa586ae052484509733.tar.gz
nginx-c3dea40b4596d480b8f4efa586ae052484509733.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r--src/http/ngx_http_request.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h
index bd842df7e..1babeb2b0 100644
--- 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;