robbiehanson / CocoaAsyncSocket

Asynchronous socket networking library for Mac and iOS
Other
12.45k stars 3k forks source link

Always resumeReadSource after flushSSLBuffers in maybeDequeueRead #799

Closed gwynjudd closed 2 years ago

gwynjudd commented 2 years ago

Resolves an issue we found when the SSLRead(...) call in flushSSLBuffers returned errSSLWouldBlock. In this case, we would want to resumeReadSource so that the buffers can drain.

Fixes #798

github-actions[bot] commented 2 years ago

This pull request has been marked as stale, it will be closed automatically if there is no further activity.