Return-Path: Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@www.apache.org Received: (qmail 32820 invoked from network); 15 Apr 2004 21:09:22 -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:09:22 -0000 Received: (qmail 18558 invoked by uid 500); 15 Apr 2004 21:09:08 -0000 Delivered-To: apmail-jakarta-commons-httpclient-dev-archive@jakarta.apache.org Received: (qmail 18544 invoked by uid 500); 15 Apr 2004 21:09:08 -0000 Mailing-List: contact commons-httpclient-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Commons HttpClient Project" Reply-To: "Commons HttpClient Project" Delivered-To: mailing list commons-httpclient-dev@jakarta.apache.org Received: (qmail 18508 invoked from network); 15 Apr 2004 21:09:07 -0000 Received: from unknown (HELO mail1.bluewin.ch) (195.186.1.74) by daedalus.apache.org with SMTP; 15 Apr 2004 21:09:07 -0000 Received: from [192.168.0.2] (83.77.48.218) by mail1.bluewin.ch (Bluewin AG 7.0.027) id 4055995900565D4D for commons-httpclient-dev@jakarta.apache.org; Thu, 15 Apr 2004 21:09:13 +0000 Subject: Re: [PATCH] SSL guide amendments (patch against 2.0 branch) From: Oleg Kalnichevski Reply-To: olegk@apache.org To: Commons HttpClient Project In-Reply-To: <407EA852.8070001@tibco.com> References: <825BF35A92B3F0479CC164ECBBE9376E0DE706@kccxoex06.corp.kpmgconsulting.com> <407EA852.8070001@tibco.com> Content-Type: text/plain Message-Id: <1082063350.6676.0.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Thu, 15 Apr 2004 23:09:10 +0200 Content-Transfer-Encoding: 7bit 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 Patch committed to CVS HEAD & 2.0 Oleg On Thu, 2004-04-15 at 17:20, Eric Johnson wrote: > Oleg, > > Yes, of course. Sorry, I should have done that the first time. > > Attached (I hope). > > -Eric. > > Kalnichevski, Oleg wrote: > > >Hi Eric > >Many thanks for taking time to correct my writing. All corrections make sense to me. (BTW, no need to be over-diplomatic. I am perfectly aware that my English has its limits, especially if I just type away. Just correct it. There'll be no questions asked). > > > >Do you still have the current CVS snapshot at your disposal? If yes, could you please recreate the patch with all those corrections, if that's not too much of a hassle? > > > >Oleg > > > >-----Original Message----- > >From: Eric Johnson [mailto:eric@tibco.com] > >Sent: Thursday, April 15, 2004 15:18 > >To: Commons HttpClient Project > >Cc: Daniel C. Amadei > >Subject: Re: [PATCH] SSL guide amendments (patch against 2.0 branch) > > > > > >Oleg, > > > >A few suggested edits.... I'm not a great editor myself (I frequently > >miss bevies of typos when my spouse asks me to review her writing), but > >since nobody else responded, I figured I would. > > > >Hopefully, my edits make sense. > > > >Oleg Kalnichevski wrote: > > > > > > > > ______________________________________________________________________ > ? sslguide2.patch > Index: sslguide.xml > =================================================================== > RCS file: /home/cvspublic/jakarta-commons/httpclient/xdocs/sslguide.xml,v > retrieving revision 1.2.2.1 > diff -u -r1.2.2.1 sslguide.xml > --- sslguide.xml 21 Aug 2003 16:07:31 -0000 1.2.2.1 > +++ sslguide.xml 15 Apr 2004 15:18:40 -0000 > @@ -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-httpclient-dev-unsubscribe@jakarta.apache.org > For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org