From: adam Date: Tue, 10 Feb 2004 01:23:42 +0000 (+0000) Subject: fixed bug 372 X-Git-Tag: RC3~56 X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=commitdiff_plain;h=5d9ca83d47e8d43b331d38a8526adf04165146fc fixed bug 372 darcs-hash:20040210012342-5007d-2ca87a2922417f9bfe5a0381ecd1a74d764b7abc.gz --- diff --git a/src/org/ibex/HTTP.java b/src/org/ibex/HTTP.java index cdaca9d..d1bcb71 100644 --- a/src/org/ibex/HTTP.java +++ b/src/org/ibex/HTTP.java @@ -88,7 +88,7 @@ public class HTTP { // previous call wrecked the socket connection, but we already sent our request, so we can't just retry -- // this could cause the server to receive the request twice, which could be bad (think of the case where the // server call causes Amazon.com to ship you an item with one-click purchasing). - if (sock == null) + if (in == null) throw new HTTPException("a previous pipelined call messed up the socket"); Hashtable h = in == null ? null : parseHeaders(in);