<?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 — Force Reuse, Porting Old Code]]></title>
		<link>https://www.wolfssl.com/forums/topic368-force-reuse-porting-old-code.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic368.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Force Reuse, Porting Old Code.]]></description>
		<lastBuildDate>Mon, 06 May 2013 21:31:19 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Force Reuse, Porting Old Code]]></title>
			<link>https://www.wolfssl.com/forums/post1059.html#p1059</link>
			<description><![CDATA[<p>The proper way to do this is to extend the timeout value that is compared with the bornOn time.&nbsp; This can be done with:</p><p>wolfSSL_set_timeout()</p><p>It defaults to 500 seconds, but wolfSSL_set_timeout() can increase that value to whatever you like.</p><p>-Todd</p>]]></description>
			<author><![CDATA[null@example.com (todd)]]></author>
			<pubDate>Mon, 06 May 2013 21:31:19 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1059.html#p1059</guid>
		</item>
		<item>
			<title><![CDATA[Force Reuse, Porting Old Code]]></title>
			<link>https://www.wolfssl.com/forums/post1054.html#p1054</link>
			<description><![CDATA[<p>I am porting some code from wolfSSL 1.5 to 2.6.</p><p>Most APIs seem very stable but I came upon this which uses an internal api (used to be in wolfssl_int.h):</p><p>static void saveforreuse(iao_connection *c)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; if (doreuse(c))<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; agentsslsession = SSL_get_session(c-&gt;ssl);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; agentsslsession-&gt;bornOn = LowResTimer();<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</p><p>I am guessing from the function names that the programmer was aiming to force the system to keep using the same ssl session across hits (the use case is a 5 minute https keep alive).</p><p>Does this make any sense? Would it have the intended effect?<br />What is the correct way of doing this in the 2.6 release?</p><p>Yuval</p>]]></description>
			<author><![CDATA[null@example.com (yuvalperlov)]]></author>
			<pubDate>Sat, 04 May 2013 16:10:36 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post1054.html#p1054</guid>
		</item>
	</channel>
</rss>
