Commit 359730af authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Fix regression in ff64f64e

parent e9cb19c8
...@@ -1279,6 +1279,10 @@ ClientHandler::ReadBuf *ClientHandler::get_rb() { return &rb_; } ...@@ -1279,6 +1279,10 @@ ClientHandler::ReadBuf *ClientHandler::get_rb() { return &rb_; }
void ClientHandler::signal_write() { conn_.wlimit.startw(); } void ClientHandler::signal_write() { conn_.wlimit.startw(); }
void ClientHandler::signal_write_no_wait() { void ClientHandler::signal_write_no_wait() {
// ev_feed_event works without starting watcher. But rate limiter
// requires active watcher. Without that, we might not send pending
// data. Also ClientHandler::write_tls requires it.
conn_.wlimit.startw();
ev_feed_event(conn_.loop, &conn_.wev, EV_WRITE); ev_feed_event(conn_.loop, &conn_.wev, EV_WRITE);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment