From 5d9ca83d47e8d43b331d38a8526adf04165146fc Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 10 Feb 2004 01:23:42 +0000 Subject: [PATCH] fixed bug 372 darcs-hash:20040210012342-5007d-2ca87a2922417f9bfe5a0381ecd1a74d764b7abc.gz --- src/org/ibex/HTTP.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 1.7.10.4