Searched refs:limit (Results 1 – 15 of 15) sorted by relevance
| /libevent-2.1.12/ |
| H A D | bufferevent_ratelim.c | 121 if (tick != bev->rate_limiting->limit.last_updated) in bufferevent_update_buckets() 226 max_so_far = LIM(bev->rate_limiting->limit); in bufferevent_get_rlim_max_() 282 bev->rate_limiting->limit.read_limit -= bytes; in bufferevent_decrement_read_buckets_() 283 if (bev->rate_limiting->limit.read_limit <= 0) { in bufferevent_decrement_read_buckets_() 320 bev->rate_limiting->limit.write_limit -= bytes; in bufferevent_decrement_write_buckets_() 416 if (bev->rate_limiting->limit.read_limit > 0) in bev_refill_callback_() 422 if (bev->rate_limiting->limit.write_limit > 0) in bev_refill_callback_() 614 if (rlim->limit.read_limit > 0) { in bufferevent_set_rate_limit() 620 if (rlim->limit.write_limit > 0) { in bufferevent_set_rate_limit() 827 r = bevp->rate_limiting->limit.read_limit; in bufferevent_get_read_limit() [all …]
|
| H A D | bufferevent_async.c | 210 int limit; in bev_async_consider_writing() local 227 limit = (int)bufferevent_get_write_max_(&beva->bev); in bev_async_consider_writing() 228 if (at_most >= (size_t)limit && limit >= 0) in bev_async_consider_writing() 229 at_most = limit; in bev_async_consider_writing() 256 int limit; in bev_async_consider_reading() local 283 limit = (int)bufferevent_get_read_max_(&beva->bev); in bev_async_consider_reading() 284 if (at_most >= (size_t)limit && limit >= 0) in bev_async_consider_reading() 285 at_most = limit; in bev_async_consider_reading()
|
| H A D | bufferevent_filter.c | 318 ev_ssize_t limit = -1; in be_filter_process_input() local 320 limit = bev->wm_read.high - in be_filter_process_input() 324 bev->input, limit, state, bevf->context); in be_filter_process_input() 372 ev_ssize_t limit = -1; in be_filter_process_output() local 375 limit = bevf->underlying->wm_write.high - in be_filter_process_output() 380 limit, in be_filter_process_output()
|
| H A D | bufferevent_openssl.c | 744 ev_ssize_t limit; in bytes_to_read() local 771 limit = bufferevent_get_read_max_(&bev->bev); in bytes_to_read() 772 if (result > limit) { in bytes_to_read() 773 result = limit; in bytes_to_read()
|
| H A D | CMakeLists.txt | 1328 # Group limits, no connection limit. 1339 # Connection limit, no group limit. 1348 # Connection limit and group limit. 1359 # Connection limit and group limit with independent drain.
|
| H A D | bufferevent-internal.h | 142 struct ev_token_bucket limit; member
|
| H A D | ChangeLog-2.0 | 160 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f) 668 o Fix rate-limit calculation on openssl bufferevents. (009f300) 737 o Functions to track the total bytes sent over a rate limit group. (fb366c1) 898 o Expose view of current rate limit as constrained by group limit (162ce8a) 941 o Fix compilation of rate-limit code when threading support is disabled (97a8c79)
|
| H A D | http.c | 4948 evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit) in evhttp_uri_join() argument 4956 if (!uri || !buf || !limit) in evhttp_uri_join() 4996 if (joined_size > limit) { in evhttp_uri_join()
|
| H A D | ChangeLog-1.4 | 54 o Remove the limit on size of HTTP headers by removing static buffers.
|
| H A D | ChangeLog | 156 o Merge remote-tracking branch 'official/pr/804' -- Enforce limit of NSIG 1589 o Move SSL rate-limit enforcement into bytes_to_read() (96c562f) 1936 o evport: Remove artificial low limit on max events per getn call (c04d927) 1948 o Add event_config function to limit time/callbacks between calls
|
| H A D | whatsnew-2.0.txt | 513 If you need to limit the number of bytes read/written by a single
|
| H A D | whatsnew-2.1.txt | 344 rate-limit settings for a bufferevent; bufferevent_getwatermark() can
|
| /libevent-2.1.12/test/ |
| H A D | regress_ssl.c | 806 size_t limit; member 820 if (ctx->get >= ctx->limit) { in wm_transfer() 825 if (ctx->neighbour->get >= ctx->neighbour->limit) { in wm_transfer() 923 client.limit = server.limit = wm_high<<3; in regress_bufferevent_openssl_wm() 933 server.limit, in regress_bufferevent_openssl_wm() 975 tt_int_op(client.get, ==, client.limit); in regress_bufferevent_openssl_wm() 976 tt_int_op(server.get, ==, server.limit); in regress_bufferevent_openssl_wm()
|
| /libevent-2.1.12/extra/abi-check/ |
| H A D | README.md | 11 You can limit the number of included libevent versions via a number given
|
| /libevent-2.1.12/include/event2/ |
| H A D | http.h | 1186 char *evhttp_uri_join(struct evhttp_uri *uri, char *buf, size_t limit);
|