nghttpd: Remove unused function
This commit is contained in:
parent
9d15f9b00d
commit
2782ef67de
|
@ -308,7 +308,6 @@ public:
|
|||
}
|
||||
auto handler =
|
||||
make_unique<Http2Handler>(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_);
|
||||
}
|
||||
|
|
|
@ -137,7 +137,6 @@ public:
|
|||
~Http2Handler();
|
||||
|
||||
void remove_self();
|
||||
int setup_bev();
|
||||
void start_settings_timer();
|
||||
int on_read();
|
||||
int on_write();
|
||||
|
|
Loading…
Reference in New Issue