addon to latest fix

pull/1/head
orbiter 11 years ago
parent 500e0b9927
commit 4ae7aead28

@ -473,6 +473,7 @@ public class HostBalancer implements Balancer {
*/
@Override
public List<Request> getDomainStackReferences(String host, int maxcount, long maxtime) {
if (host == null) return new ArrayList<Request>(0);
try {
HostQueue hq = this.queues.get(DigestURL.hosthash(host, host.startsWith("ftp.") ? 21 : 80));
if (hq == null) hq = this.queues.get(DigestURL.hosthash(host, 443));

Loading…
Cancel
Save