reduced httpd final waiting time

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3888 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent b4585ad67d
commit cb38e57622

@ -969,7 +969,7 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
try {out.flush();}catch (Exception e) {}
if (((String)requestHeader.get(httpHeader.CONNECTION, "close")).indexOf("keep-alive") == -1) {
// wait a little time until everything closes so that clients can read from the streams/sockets
try {Thread.sleep(1000);} catch (InterruptedException e) {}
try {Thread.sleep(200);} catch (InterruptedException e) {}
}
}
}

Loading…
Cancel
Save