| /f-stack/app/nginx-1.16.1/src/http/ |
| H A D | ngx_http_write_filter_module.c | 253 if (r->limit_rate) { in ngx_http_write_filter() 258 limit = (off_t) r->limit_rate * (ngx_time() - r->start_sec + 1) in ngx_http_write_filter() 263 delay = (ngx_msec_t) (- limit * 1000 / r->limit_rate + 1); in ngx_http_write_filter() 296 if (r->limit_rate) { in ngx_http_write_filter() 313 delay = (ngx_msec_t) ((nsent - sent) * 1000 / r->limit_rate); in ngx_http_write_filter()
|
| H A D | ngx_http_upstream.h | 159 size_t limit_rate; member
|
| H A D | ngx_http_request.h | 436 size_t limit_rate; member
|
| H A D | ngx_http_core_module.h | 356 size_t limit_rate; /* limit_rate */ member
|
| H A D | ngx_http_core_module.c | 493 offsetof(ngx_http_core_loc_conf_t, limit_rate), 1293 if (r->limit_rate == 0) { in ngx_http_update_location_config() 1294 r->limit_rate = clcf->limit_rate; in ngx_http_update_location_config() 3439 clcf->limit_rate = NGX_CONF_UNSET_SIZE; in ngx_http_core_create_loc_conf() 3669 ngx_conf_merge_size_value(conf->limit_rate, prev->limit_rate, 0); in ngx_http_core_merge_loc_conf()
|
| H A D | ngx_http_upstream.c | 2981 r->limit_rate = 0; in ngx_http_upstream_send_response() 3129 p->limit_rate = u->conf->limit_rate; in ngx_http_upstream_send_response() 4808 r->limit_rate = (size_t) n; in ngx_http_upstream_process_limit_rate()
|
| H A D | ngx_http_variables.c | 326 offsetof(ngx_http_request_t, limit_rate),
|
| /f-stack/app/nginx-1.16.1/src/event/ |
| H A D | ngx_event_pipe.h | 93 size_t limit_rate; member
|
| H A D | ngx_event_pipe.c | 197 if (p->limit_rate) { in ngx_event_pipe_read_upstream() 202 limit = (off_t) p->limit_rate * (ngx_time() - p->start_sec + 1) in ngx_event_pipe_read_upstream() 207 delay = (ngx_msec_t) (- limit * 1000 / p->limit_rate + 1); in ngx_event_pipe_read_upstream() 335 delay = p->limit_rate ? (ngx_msec_t) n * 1000 / p->limit_rate : 0; in ngx_event_pipe_read_upstream()
|
| /f-stack/app/nginx-1.16.1/src/stream/ |
| H A D | ngx_stream_proxy_module.c | 1514 size_t size, limit_rate; in ngx_stream_proxy_process() local 1552 limit_rate = pscf->download_rate; in ngx_stream_proxy_process() 1564 limit_rate = pscf->upload_rate; in ngx_stream_proxy_process() 1602 if (limit_rate) { in ngx_stream_proxy_process() 1603 limit = (off_t) limit_rate * (ngx_time() - u->start_sec + 1) in ngx_stream_proxy_process() 1608 delay = (ngx_msec_t) (- limit * 1000 / limit_rate + 1); in ngx_stream_proxy_process() 1632 if (limit_rate) { in ngx_stream_proxy_process() 1633 delay = (ngx_msec_t) (n * 1000 / limit_rate); in ngx_stream_proxy_process()
|
| /f-stack/app/nginx-1.16.1/ |
| H A D | CHANGES.ru | 564 директив limit_rate, sendfile_max_chunk, limit_req или метода 583 *) Исправление: при попытке установить переменную $limit_rate в пустую 1837 *) Добавление: директиву limit_rate теперь можно использовать для 2273 *) Исправление: при использовании директивы limit_rate с большими 2722 *) Исправление: директива limit_rate не позволяла передавать на полной 2726 использовалась директива limit_rate. 3870 использовании limit_rate в HTTPS сервере. 3873 *) Исправление: при записи в лог переменной $limit_rate в рабочем 5933 *) Исправление: при использовании sendfile и limit_rate на 64-битных 6828 *) Добавление: переменная $limit_rate. [all …]
|
| H A D | CHANGES | 554 *) Bugfix: requests might hang when using the "limit_rate", 574 $limit_rate variable was set to an empty string. 1795 *) Feature: the "limit_rate" directive can now be used to rate limit 2669 *) Bugfix: the "limit_rate" directive did not allow to use full 2673 "limit_rate" directive was used. 3801 limit_rate was used in HTTPS server. 3805 $limit_rate logging. 5372 *) Bugfix: the "limit_rate" directive did not allow to use full 5812 sendfile and limit_rate on 64-bit platforms. 6696 *) Feature: the "$limit_rate" variable. [all …]
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_scgi_module.c | 227 offsetof(ngx_http_scgi_loc_conf_t, upstream.limit_rate), 1219 conf->upstream.limit_rate = NGX_CONF_UNSET_SIZE; in ngx_http_scgi_create_loc_conf() 1331 ngx_conf_merge_size_value(conf->upstream.limit_rate, in ngx_http_scgi_merge_loc_conf() 1332 prev->upstream.limit_rate, 0); in ngx_http_scgi_merge_loc_conf()
|
| H A D | ngx_http_uwsgi_module.c | 288 offsetof(ngx_http_uwsgi_loc_conf_t, upstream.limit_rate), 1432 conf->upstream.limit_rate = NGX_CONF_UNSET_SIZE; in ngx_http_uwsgi_create_loc_conf() 1552 ngx_conf_merge_size_value(conf->upstream.limit_rate, in ngx_http_uwsgi_merge_loc_conf() 1553 prev->upstream.limit_rate, 0); in ngx_http_uwsgi_merge_loc_conf()
|
| H A D | ngx_http_fastcgi_module.c | 377 offsetof(ngx_http_fastcgi_loc_conf_t, upstream.limit_rate), 2740 conf->upstream.limit_rate = NGX_CONF_UNSET_SIZE; in ngx_http_fastcgi_create_loc_conf() 2857 ngx_conf_merge_size_value(conf->upstream.limit_rate, in ngx_http_fastcgi_merge_loc_conf() 2858 prev->upstream.limit_rate, 0); in ngx_http_fastcgi_merge_loc_conf()
|
| H A D | ngx_http_proxy_module.c | 454 offsetof(ngx_http_proxy_loc_conf_t, upstream.limit_rate), 2872 conf->upstream.limit_rate = NGX_CONF_UNSET_SIZE; in ngx_http_proxy_create_loc_conf() 3010 ngx_conf_merge_size_value(conf->upstream.limit_rate, in ngx_http_proxy_merge_loc_conf() 3011 prev->upstream.limit_rate, 0); in ngx_http_proxy_merge_loc_conf()
|
| /f-stack/app/nginx-1.16.1/contrib/vim/syntax/ |
| H A D | nginx.vim | 353 syn keyword ngxDirective contained limit_rate
|