nghttpx: Close TODO comments

This commit is contained in:
Tatsuhiro Tsujikawa 2016-06-05 23:02:50 +09:00
parent 8248598601
commit 2867f03861
2 changed files with 1 additions and 3 deletions

View File

@ -818,7 +818,7 @@ void ConnectionHandler::handle_serial_event() {
for (auto &sev : q) { for (auto &sev : q) {
switch (sev.type) { switch (sev.type) {
case SEV_REPLACE_DOWNSTREAM: case SEV_REPLACE_DOWNSTREAM:
// TODO make sure that none of worker uses // Mmake sure that none of worker uses
// get_config()->conn.downstream // get_config()->conn.downstream
mod_config()->conn.downstream = sev.downstreamconf; mod_config()->conn.downstream = sev.downstreamconf;

View File

@ -416,8 +416,6 @@ void Http2Upstream::initiate_downstream(Downstream *downstream) {
auto &req = downstream->request(); auto &req = downstream->request();
if (!req.http2_expect_body) { if (!req.http2_expect_body) {
downstream->end_upload_data(); downstream->end_upload_data();
// TODO is this necessary?
handler_->signal_write();
} }
return; return;