Return-Path:
Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org
Received: (qmail 32197 invoked from network); 15 Apr 2004 21:08:41 -0000
Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12)
by minotaur-2.apache.org with SMTP; 15 Apr 2004 21:08:41 -0000
Received: (qmail 16045 invoked by uid 500); 15 Apr 2004 21:08:26 -0000
Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org
Received: (qmail 15838 invoked by uid 500); 15 Apr 2004 21:08:24 -0000
Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm
Precedence: bulk
List-Unsubscribe:
List-Subscribe:
List-Help:
List-Post:
List-Id: "Jakarta Commons Developers List"
Reply-To: "Jakarta Commons Developers List"
Delivered-To: mailing list commons-dev@jakarta.apache.org
Received: (qmail 15825 invoked by uid 500); 15 Apr 2004 21:08:24 -0000
Received: (qmail 15822 invoked from network); 15 Apr 2004 21:08:24 -0000
Received: from unknown (HELO minotaur.apache.org) (209.237.227.194)
by daedalus.apache.org with SMTP; 15 Apr 2004 21:08:24 -0000
Received: (qmail 32165 invoked by uid 1624); 15 Apr 2004 21:08:36 -0000
Date: 15 Apr 2004 21:08:36 -0000
Message-ID: <20040415210836.32164.qmail@minotaur.apache.org>
From: olegk@apache.org
To: jakarta-commons-cvs@apache.org
Subject: cvs commit: jakarta-commons/httpclient/xdocs sslguide.xml
X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N
olegk 2004/04/15 14:08:36
Modified: httpclient/xdocs Tag: HTTPCLIENT_2_0_BRANCH sslguide.xml
Log:
SSL guide amendments
Contributed by Oleg Kalnichevski, Daniel C. Amadei , Eric Johnson
Revision Changes Path
No revision
No revision
1.2.2.2 +38 -1 jakarta-commons/httpclient/xdocs/sslguide.xml
Index: sslguide.xml
===================================================================
RCS file: /home/cvs/jakarta-commons/httpclient/xdocs/sslguide.xml,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- sslguide.xml 21 Aug 2003 16:07:31 -0000 1.2.2.1
+++ sslguide.xml 15 Apr 2004 21:08:36 -0000 1.2.2.2
@@ -240,6 +240,43 @@
+
+
+ JSSE prior to Java 1.4 incorrectly reports socket timeout.
+
+
+ Prior to Java 1.4, in Sun's JSSE implementation, a read operation that has timed out incorrect
+ reports end of stream condition instead of throwing java.io.InterruptedIOException as expected.
+ HttpClient responds to this exception by assuming that the connection was dropped and throws a recoverable
+ HTTP exception: Error in parsing the status line from the response: unable to find line starting with "HTTP".
+ It should instead report "java.io.InterruptedIOException: Read timed out". If you see the "unable to find
+ line..." message when working with an older version of JDK and JSSE, it can be caused by the timeout
+ waiting for data and not by a problem with the connection.
+
+
+ Work-around: One possible solution is to increase the timeout value as the server is
+ taking too long to start sending the response. Alternatively you may choose to upgrade to Java 1.4 or
+ above which does not exhibit this problem.
+
+
+ The problem has been discovered and reported by Daniel C. Amadei.
+
+
+
+
+
+ HttpClient does not work with IBM JSSE shipped with IBM Websphere Application Platform
+
+
+ Several releases of the IBM JSSE exhibit a bug that cause HttpClient to fail while detecting the size
+ of the socket send buffer (java.net.Socket.getSendBufferSize method throws java.net.SocketException:
+ "Socket closed" exception).
+
+
+ Solution: Make sure that you have all the latest fix packs applied. HttpClient users
+ have reported that IBM Websphere Application Server versions 4.0.6, 5.0.2.2, 5.1 do not exhibit the problem.
+
+
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org