From 2867f038612c32f55ef20d7f3018465e2b96e8be Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 5 Jun 2016 23:02:50 +0900 Subject: [PATCH] nghttpx: Close TODO comments --- src/shrpx_connection_handler.cc | 2 +- src/shrpx_http2_upstream.cc | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/shrpx_connection_handler.cc b/src/shrpx_connection_handler.cc index 7b862a47..e5cbe9a2 100644 --- a/src/shrpx_connection_handler.cc +++ b/src/shrpx_connection_handler.cc @@ -818,7 +818,7 @@ void ConnectionHandler::handle_serial_event() { for (auto &sev : q) { switch (sev.type) { case SEV_REPLACE_DOWNSTREAM: - // TODO make sure that none of worker uses + // Mmake sure that none of worker uses // get_config()->conn.downstream mod_config()->conn.downstream = sev.downstreamconf; diff --git a/src/shrpx_http2_upstream.cc b/src/shrpx_http2_upstream.cc index 6f7aa393..28647631 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -416,8 +416,6 @@ void Http2Upstream::initiate_downstream(Downstream *downstream) { auto &req = downstream->request(); if (!req.http2_expect_body) { downstream->end_upload_data(); - // TODO is this necessary? - handler_->signal_write(); } return;