diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-07-07 23:51:51 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-07-07 23:51:51 +0900 |
| commit | 360ca57231276648c8a26556ee06f7484176323c (patch) | |
| tree | 570a4a597a6ae1bde230e4010ccb2a67f2975731 /src/FileEntry.h | |
| parent | b7e19eede72760bc08047d877389639c0a26061a (diff) | |
Try to use available URI if all pooled requests are sleeping
Diffstat (limited to 'src/FileEntry.h')
| -rw-r--r-- | src/FileEntry.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FileEntry.h b/src/FileEntry.h index dc32e7f7..d304ce16 100644 --- a/src/FileEntry.h +++ b/src/FileEntry.h @@ -97,6 +97,12 @@ private: void storePool(const std::shared_ptr<Request>& request); + std::shared_ptr<Request> getRequestWithInFlightHosts( + URISelector* selector, bool uriReuse, + const std::vector<std::pair<size_t, std::string>>& usedHosts, + const std::string& referer, const std::string& method, + const std::vector<std::string>& inFlightHosts); + public: FileEntry(); |
