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

Authored by dfaure on Apr 21 2018, 5:25 PM.

Details

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.

Diff Detail

Branch
Applications/18.04
Lint
No Linters Available
Unit
No Unit Test Coverage
dfaure requested review of this revision.Apr 21 2018, 5:25 PM
dfaure created this revision.
dvratil accepted this revision.Apr 21 2018, 5:35 PM
This revision is now accepted and ready to land.Apr 21 2018, 5:35 PM
dfaure closed this revision.Apr 21 2018, 5:42 PM