DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15049>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15049

Add SSL session resumption to XmlRpcClientLite





------- Additional Comments From [EMAIL PROTECTED]  2002-12-04 04:47 -------
Tim McClure (the original poster) answered:

Thanks for your reply.  I have attached my class, the original XmlRpcClientLite
class and a file containing the differences from a Unix diff command.  The
implementation of SSL resumption in JSSE is no more difficult than reusing the
same socket factory to create all sockets and doing the SSL handshake on only
the first socket created.  It took me some time to figure this out because JSSE
is not well documented.

Also in Windows it seemed that the writing of each HTML header line was causing
Windows to flush the buffer (maybe because it has a newline at the end).  This
effected performance so I changed the class to create the whole message in a
string buffer and send it at once.  I realize there may be a more efficient way
to do this.  

Do not hesitate to contact me if you have any questions.  The SSL resumption can
be tested by setting the system property "java.net.debug=all".  I would
appreciate if you kept me as up to date with the changes as possible and when
you might release them.

Reply via email to