nghttpx: Close TODO comments
This commit is contained in:
parent
8248598601
commit
2867f03861
|
@ -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;
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue