Mercurial > hg > nginx
comparison 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 |
comparison
equal
deleted
inserted
replaced
5200:9d83ec073c51 | 5201:06fbbde04098 |
---|---|
418 int *captures; | 418 int *captures; |
419 u_char *captures_data; | 419 u_char *captures_data; |
420 #endif | 420 #endif |
421 | 421 |
422 size_t limit_rate; | 422 size_t limit_rate; |
423 size_t limit_rate_after; | |
423 | 424 |
424 /* used to learn the Apache compatible response length without a header */ | 425 /* used to learn the Apache compatible response length without a header */ |
425 size_t header_size; | 426 size_t header_size; |
426 | 427 |
427 off_t request_length; | 428 off_t request_length; |