<?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_shutdown hanging when terminating dlts 1.0 client connection]]></title>
		<link>https://www.wolfssl.com/forums/topic2172-wolfsslshutdown-hanging-when-terminating-dlts-10-client-connection.html</link>
		<atom:link href="https://www.wolfssl.com/forums/feed-rss-topic2172.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in wolfssl_shutdown hanging when terminating dlts 1.0 client connection.]]></description>
		<lastBuildDate>Wed, 18 Sep 2024 20:26:00 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: wolfssl_shutdown hanging when terminating dlts 1.0 client connection]]></title>
			<link>https://www.wolfssl.com/forums/post7864.html#p7864</link>
			<description><![CDATA[<p>Thanks!&nbsp; I&#039;ll look into adding a timeout function.</p>]]></description>
			<author><![CDATA[null@example.com (bp787)]]></author>
			<pubDate>Wed, 18 Sep 2024 20:26:00 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7864.html#p7864</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl_shutdown hanging when terminating dlts 1.0 client connection]]></title>
			<link>https://www.wolfssl.com/forums/post7860.html#p7860</link>
			<description><![CDATA[<p>Servers often do not support bidirectional shutdown, instead just silently closing the connection.</p><p>In the case of DTLS, a time out while waiting for the close notify could be used to handle the case of a non-responding server.</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Tue, 17 Sep 2024 14:41:45 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7860.html#p7860</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl_shutdown hanging when terminating dlts 1.0 client connection]]></title>
			<link>https://www.wolfssl.com/forums/post7856.html#p7856</link>
			<description><![CDATA[<p>I will attempt to get a pcap of the interaction soon.</p><p>I only get the WOLFSSL_SHUTDOWN_NOT_DONE return from the server after the first call.&nbsp; As soon as I can, I will run a capture on the interaction.&nbsp; </p><p>I&#039;m am 100% unsure if I need to do a bidirectional shutdown, but I was having a few occasional hangs previously and added this in as good measure.&nbsp; That said, I found the issues for the other hangs and maybe I no longer need or want this.</p><p>Is there a case where a bi-drectional shutdown is not desired?</p>]]></description>
			<author><![CDATA[null@example.com (bp787)]]></author>
			<pubDate>Mon, 16 Sep 2024 22:25:13 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7856.html#p7856</guid>
		</item>
		<item>
			<title><![CDATA[Re: wolfssl_shutdown hanging when terminating dlts 1.0 client connection]]></title>
			<link>https://www.wolfssl.com/forums/post7855.html#p7855</link>
			<description><![CDATA[<p>Hi bp787</p><p>Are you trying to do a bi-directional shutdown?</p><p>Does the server respond with anything after the first shutdown? Do you have a pcap of the interaction?</p><p>Thanks,<br />Eric - wolfSSL Support</p>]]></description>
			<author><![CDATA[null@example.com (embhorn)]]></author>
			<pubDate>Mon, 16 Sep 2024 21:59:53 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7855.html#p7855</guid>
		</item>
		<item>
			<title><![CDATA[wolfssl_shutdown hanging when terminating dlts 1.0 client connection]]></title>
			<link>https://www.wolfssl.com/forums/post7854.html#p7854</link>
			<description><![CDATA[<p>I have a wolfssl client that is connecting to a dtls 1.0 server over a UDP connection.&nbsp; I am working on connectivity/stability of the connection, so am doing various things including cable disconnects, server on/off, etc..</p><p>During the cleanup, I am calling wolfss_shutdown(ssl) in a while loop, checking the return value for WOLFSSL_SHUTDOWN_NOT_DONE.&nbsp; First time through it returns WOLFSSL_SHUTDOWN_NOT_DONE.&nbsp; Second time it hangs and never exits or returns (or at least not in the first few minutes).</p><p>Any suggestions as to what might be happening?&nbsp; Is there some timeout value that I can set?</p><p>&nbsp; I&#039;m doing this per the various DTLS examples in github.&nbsp; </p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (bp787)]]></author>
			<pubDate>Mon, 16 Sep 2024 21:51:53 +0000</pubDate>
			<guid>https://www.wolfssl.com/forums/post7854.html#p7854</guid>
		</item>
	</channel>
</rss>
