Home
last modified time | relevance | path

Searched refs:limit_rate (Results 1 – 17 of 17) sorted by relevance

/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_write_filter_module.c253 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 Dngx_http_upstream.h159 size_t limit_rate; member
H A Dngx_http_request.h436 size_t limit_rate; member
H A Dngx_http_core_module.h356 size_t limit_rate; /* limit_rate */ member
H A Dngx_http_core_module.c493 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 Dngx_http_upstream.c2981 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 Dngx_http_variables.c326 offsetof(ngx_http_request_t, limit_rate),
/f-stack/app/nginx-1.16.1/src/event/
H A Dngx_event_pipe.h93 size_t limit_rate; member
H A Dngx_event_pipe.c197 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 Dngx_stream_proxy_module.c1514 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 DCHANGES.ru564 директив 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 DCHANGES554 *) 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 Dngx_http_scgi_module.c227 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 Dngx_http_uwsgi_module.c288 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 Dngx_http_fastcgi_module.c377 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 Dngx_http_proxy_module.c454 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 Dnginx.vim353 syn keyword ngxDirective contained limit_rate