<table><tr><td style="">dfaure created this revision.<br />dfaure added reviewers: knauss, dvratil, ervin.<br />Restricted Application added a project: KDE PIM.<br />dfaure requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12418">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p><a href="https://phabricator.kde.org/R177:1b79b4be07588a959af7caf3866005ba5e5128d3" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">1b79b4b</a> in kimap makes connectionLost useful again, as the best way<br />
to detect that we managed to connect (so the server actually exists and is<br />
(or was) reachable) and then lost connection. Use that instead of the state change<br />
to distinguish from the wrong hostname case (where we don't want to retry, we'd loop<br />
forever doing that).</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Expand existing unittest to test 3 different cases of connection lost,<br />
all after the initial connect. The next method (shouldNotifyFailureToConnect)<br />
ensures that the "wrong hostname" case still works.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R44 KDE PIM Runtime</div></div></div><br /><div><strong>BRANCH</strong><div><div>Applications/18.04</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12418">https://phabricator.kde.org/D12418</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>resources/imap/autotests/testsessionpool.cpp<br />
resources/imap/sessionpool.cpp<br />
resources/imap/sessionpool.h</div></div></div><br /><div><strong>To: </strong>dfaure, knauss, dvratil, ervin<br /><strong>Cc: </strong>KDE PIM, dvasin, winterz, vkrause, mlaurent, knauss, dvratil<br /></div>