Searched refs:RateLimit (Results 1 – 7 of 7) sorted by relevance
/third_party/nghttp2/src/ |
D | shrpx_rate_limit.cc | 36 auto r = static_cast<RateLimit *>(w->data); in regencb() 41 RateLimit::RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst, in RateLimit() function in shrpx::RateLimit 57 RateLimit::~RateLimit() { ev_timer_stop(loop_, &t_); } in ~RateLimit() 59 size_t RateLimit::avail() const { in avail() 66 void RateLimit::drain(size_t n) { in drain() 77 void RateLimit::regen() { in regen() 93 void RateLimit::startw() { in startw() 105 void RateLimit::stopw() { in stopw() 110 void RateLimit::handle_tls_pending_read() { in handle_tls_pending_read()
|
D | shrpx_rate_limit.h | 38 class RateLimit { 42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst, 44 ~RateLimit();
|
D | shrpx_io_control.h | 43 IOControl(RateLimit *lim); 52 RateLimit *lim_;
|
D | shrpx_connection.h | 175 RateLimit wlimit; 176 RateLimit rlimit;
|
D | shrpx_client_handler.h | 144 RateLimit *get_rlimit(); 145 RateLimit *get_wlimit();
|
D | shrpx_io_control.cc | 36 IOControl::IOControl(RateLimit *lim) : lim_(lim), rdbits_(0) {} in IOControl()
|
D | shrpx_client_handler.cc | 1250 RateLimit *ClientHandler::get_rlimit() { return &conn_.rlimit; } in get_rlimit() 1251 RateLimit *ClientHandler::get_wlimit() { return &conn_.wlimit; } in get_wlimit()
|