Added comment for clarity #4750

This commit is contained in:
Adam Potolsky 2015-06-25 09:54:28 -07:00
parent 25c1754d2d
commit 9dc0a1d862
1 changed files with 3 additions and 0 deletions

View File

@ -425,6 +425,9 @@ SecureSocket::checkResult(int status, int& retry)
break;
case SSL_ERROR_WANT_WRITE:
// Need to make sure the socket is known to be writable so the impending
// select action actually triggers on a write. This isn't necessary for
// m_readable because the socket logic is always readable
m_writable = true;
retry++;
LOG((CLOG_DEBUG2 "want to write, error=%d, attempt=%d", errorCode, retry));