Commit f9dfb546 authored by mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f's avatar mevenson@1c010e3e-69d0-11dd-93a8-456734b0d56f
Browse files

Set a timeout on retrieval of JAR-PATHNAME objects from ZipCache.

JDK 7(?) changed the default timeout for sockets to 0, which means
infinity, which is probably a bad idea when dealing with I/O on the

Restore the failing tests in ABCL-TEST-LISP: the test suite bombs, but
not as catastrophically.
parent 62e249c9
......@@ -85,6 +85,7 @@ public class HttpHead {
PrintWriter out = null;
BufferedReader in = null;
try {
socket.setSoTimeout(5000); // ms
out = new PrintWriter(socket.getOutputStream());
in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
} catch (IOException e) {
......@@ -212,7 +212,6 @@ Returns the two values of the pathnames of the created archives."
;;; XXX come up with a better abstraction
;; disable until fix loading fasls via HTTP
(deftest jar-pathname.load.http.1
(load-url-relative "foo")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment