D12417: Session: emit connectionLost when getting disconnected before the initial OK

David Faure noreply at phabricator.kde.org
Sat Apr 21 18:25:07 BST 2018


dfaure created this revision.
dfaure added reviewers: ervin, dvratil.
dfaure requested review of this revision.

REVISION SUMMARY
  This commit cleans up the meaning of connectionLost so that it can be used
  again by the imap resource session pool. It is now only emitted when losing
  connection, after actually being connected. This allows to distinguish
  that case from the case of a non-existent server.

TEST PLAN
  Adapted unittest; more tests in imap resource based on this.

BRANCH
  Applications/18.04

REVISION DETAIL
  https://phabricator.kde.org/D12417

AFFECTED FILES
  autotests/testsession.cpp
  src/session.cpp
  src/session.h

To: dfaure, ervin, dvratil
Cc: #kde_pim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20180421/4d0a7b45/attachment.html>


More information about the kde-pim mailing list