diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 15650136..03140c3b 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -308,7 +308,6 @@ public: } auto handler = make_unique(this, fd, ssl, get_next_session_id()); - handler->setup_bev(); if (!ssl) { if (handler->connection_made() != 0) { return; @@ -575,8 +574,6 @@ struct ev_loop *Http2Handler::get_loop() const { Http2Handler::WriteBuf *Http2Handler::get_wb() { return &wb_; } -int Http2Handler::setup_bev() { return 0; } - void Http2Handler::start_settings_timer() { ev_timer_start(sessions_->get_loop(), &settings_timerev_); } diff --git a/src/HttpServer.h b/src/HttpServer.h index 27b5b2c9..0690307e 100644 --- a/src/HttpServer.h +++ b/src/HttpServer.h @@ -137,7 +137,6 @@ public: ~Http2Handler(); void remove_self(); - int setup_bev(); void start_settings_timer(); int on_read(); int on_write();