Home
last modified time | relevance | path

Searched refs:RateLimit (Results 1 – 7 of 7) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_rate_limit.cc36 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()
Dshrpx_rate_limit.h38 class RateLimit {
42 RateLimit(struct ev_loop *loop, ev_io *w, size_t rate, size_t burst,
44 ~RateLimit();
Dshrpx_io_control.h43 IOControl(RateLimit *lim);
52 RateLimit *lim_;
Dshrpx_connection.h175 RateLimit wlimit;
176 RateLimit rlimit;
Dshrpx_client_handler.h144 RateLimit *get_rlimit();
145 RateLimit *get_wlimit();
Dshrpx_io_control.cc36 IOControl::IOControl(RateLimit *lim) : lim_(lim), rdbits_(0) {} in IOControl()
Dshrpx_client_handler.cc1250 RateLimit *ClientHandler::get_rlimit() { return &conn_.rlimit; } in get_rlimit()
1251 RateLimit *ClientHandler::get_wlimit() { return &conn_.wlimit; } in get_wlimit()