<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 39: New SSL EOF error behavior when remote connection closes</title><link>https://sourceforge.net/p/tinyfugue/bugs-and-support/39/</link><description>Recent changes to 39: New SSL EOF error behavior when remote connection closes</description><atom:link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/39/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 22 Aug 2022 09:54:06 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tinyfugue/bugs-and-support/39/feed.rss" rel="self" type="application/rss+xml"/><item><title>New SSL EOF error behavior when remote connection closes</title><link>https://sourceforge.net/p/tinyfugue/bugs-and-support/39/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I recently upgraded to Ubuntu 22.04 LTS, and now when the remote server disconnects I get some new error messages which didn't appear before:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c"&gt;% Connection to (world) closed: SSL/lib: error:0A000126:SSL routines::unexpected eof while reading&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="c"&gt;% Connection to (world) closed: SSL/lib: error:0A000197:SSL routines::shutdown while in init&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;This replaces the previous behavior of it simply giving a single "connection closed" line. This behavior appears to be new to libssl3; previously, Ubuntu 20.4 LTS used openssl27.&lt;/p&gt;
&lt;p&gt;This is an extremely minor issue but it possibly indicates a change in the OpenSSL API that might need addressing. From a cursory GitHub search it seems that it's appropriate to call this in the SSL context setup:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;SSL_CTX_set_options(ctx, SSL_OP_IGNORE_UNEXPECTED_EOF);
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;although it's unclear if that will cause other issues with how remote connections close from the server side.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">fluffy</dc:creator><pubDate>Mon, 22 Aug 2022 09:54:06 -0000</pubDate><guid>https://sourceforge.net6a8a3e1a42e6b5c639d1c9bd7a7346bf969f4ff4</guid></item></channel></rss>