Revert "Allowed reconnect after SSL fatal error #4857"

This reverts commit cbd63e9d67ead4199d5ab49b17d68a7583421d92.
This commit is contained in:
Xinyu Hou 2015-08-05 17:51:41 +01:00 committed by Jerry (Xinyu Hou)
parent 1b8f055ff2
commit 9b09703c1a
1 changed files with 1 additions and 0 deletions

View File

@ -516,6 +516,7 @@ SecureSocket::getError()
void void
SecureSocket::disconnect() SecureSocket::disconnect()
{ {
sendEvent(getEvents()->forISocket().stopRetry());
sendEvent(getEvents()->forISocket().disconnected()); sendEvent(getEvents()->forISocket().disconnected());
sendEvent(getEvents()->forIStream().inputShutdown()); sendEvent(getEvents()->forIStream().inputShutdown());
} }