nghttpd: Remove unused function

This commit is contained in:
Tatsuhiro Tsujikawa 2016-02-23 01:18:52 +09:00
parent 9d15f9b00d
commit 2782ef67de
2 changed files with 0 additions and 4 deletions

View File

@ -308,7 +308,6 @@ public:
} }
auto handler = auto handler =
make_unique<Http2Handler>(this, fd, ssl, get_next_session_id()); make_unique<Http2Handler>(this, fd, ssl, get_next_session_id());
handler->setup_bev();
if (!ssl) { if (!ssl) {
if (handler->connection_made() != 0) { if (handler->connection_made() != 0) {
return; return;
@ -575,8 +574,6 @@ struct ev_loop *Http2Handler::get_loop() const {
Http2Handler::WriteBuf *Http2Handler::get_wb() { return &wb_; } Http2Handler::WriteBuf *Http2Handler::get_wb() { return &wb_; }
int Http2Handler::setup_bev() { return 0; }
void Http2Handler::start_settings_timer() { void Http2Handler::start_settings_timer() {
ev_timer_start(sessions_->get_loop(), &settings_timerev_); ev_timer_start(sessions_->get_loop(), &settings_timerev_);
} }

View File

@ -137,7 +137,6 @@ public:
~Http2Handler(); ~Http2Handler();
void remove_self(); void remove_self();
int setup_bev();
void start_settings_timer(); void start_settings_timer();
int on_read(); int on_read();
int on_write(); int on_write();