<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[wolfSSL - Embedded SSL Library — wolfSSL with Tomcat]]></title>
		<link>https://www.wolfssl.com/forums/topic36-wolfssl-with-tomcat.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic36.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in wolfSSL with Tomcat.]]></description>
		<lastBuildDate>Tue, 16 Nov 2010 05:46:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[wolfSSL with Tomcat]]></title>
			<link>https://www.wolfssl.com/forums/post40.html#p40</link>
			<description><![CDATA[<p>2008-12-04 09:46:40 UTC<br />I am using wolfssl to connect to a Tomcat server.<br />If I don&#039;t try to reuse the session id everything works fine.<br />When a session id is no longer valid wolfssl just negotiates a new session id, no problem.<br />However, when I restart tomcat in between two wolfssl calls (while trying to reuse the ID), the SSL_connect call hangs until the tomcat servers times it out (or in case of a non blocking implementation SSL_connect asks for more data which never arrives).</p><p>This does not happen with an apache server however other SSL implementations do not have the same issue with Tomcat.</p><p>Can you throw a few ideas about what can be the root cause for this and how can I go about debugging? I&#039;d be happy to troubleshoot and &quot;dive in the code&quot; but will need a few pointers on where to start looking.</p><p>Yuval<br />#<br />touskaProject Admin</p><p>[Avatar]<br />2008-12-04 20:18:14 UTC<br />It sounds like the Tomcat server is trying to resume a session even though it no longer has context for it. Unless wolfSSL gets an error from the server it has no idea what&#039;s going on, eventually the socket call times it out. Not sure how the other implementations are catching this unless they&#039;re setting up their own timers to override the tcp ones. Are you sure the other ones are correctly sending the session ID in the client hello to try and resume?</p><p>Can you send me a wireshark trace of the wolfSSL failed connection attempt and also one of a different implementation successfully connecting after a hard reset while trying to resume? That may shed some more light on it for us.</p><p>Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (larry)]]></author>
			<pubDate>Tue, 16 Nov 2010 05:46:39 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post40.html#p40</guid>
		</item>
	</channel>
</rss>
