You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Michael Cohen (ETL)" <mi...@etl.ericsson.se> on 2000/12/08 12:25:10 UTC

Multiple GETs on an SSLSocket

Hi,

This is more a java/ssl question then tomcat but any ideas on the following will be
much appreciated...

I'm using a servlet (will be using a servlet at the moment I'm testing in a standalone app.) 
as a client to connect via https to a server. I've got as far as making the 
server trusted and performing the ssl handshake and then downloading the first html page.

The problem arises when I try to write the second GET request and flush it down
the output stream. The flush() method throws an IOException. I'm using the sample code
provided with jsse to implement things but that sample code only has one GET request and
so works fine. The exception comes with the second GET?

Any ideas?


Mike C.