nghttpx: Don't log access log for blocked streams

This commit is contained in:
Tatsuhiro Tsujikawa 2014-12-05 21:29:31 +09:00
parent 9614611969
commit 3b03ff626a
4 changed files with 0 additions and 17 deletions

View File

@ -207,9 +207,4 @@ DownstreamQueue::get_active_downstreams() const {
return active_downstreams_;
}
const DownstreamQueue::DownstreamMap &
DownstreamQueue::get_blocked_downstreams() const {
return blocked_downstreams_;
}
} // namespace shrpx

View File

@ -81,8 +81,6 @@ public:
// or failure_downstreams_.
Downstream *find(int32_t stream_id);
const DownstreamMap &get_active_downstreams() const;
const DownstreamMap &get_blocked_downstreams() const;
HostEntry &find_host_entry(const std::string &host);
// Maximum number of concurrent connections to the same host.

View File

@ -1395,11 +1395,6 @@ void Http2Upstream::on_handler_delete() {
handler_->write_accesslog(ent.second.get());
}
}
for (auto &ent : downstream_queue_.get_blocked_downstreams()) {
if (ent.second->accesslog_ready()) {
handler_->write_accesslog(ent.second.get());
}
}
}
} // namespace shrpx

View File

@ -1089,11 +1089,6 @@ void SpdyUpstream::on_handler_delete() {
handler_->write_accesslog(ent.second.get());
}
}
for (auto &ent : downstream_queue_.get_blocked_downstreams()) {
if (ent.second->accesslog_ready()) {
handler_->write_accesslog(ent.second.get());
}
}
}
} // namespace shrpx