-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refine fix for deadlock by using non-blocking f_recv (#125)
* refine fix for deadlock by using non-blocking f_recv * use eof instead of wait_readnb * dont call eof until after calling mbedtls ccalls. otherwise eof() will block before mbedtls has a chance to do its thing * define wait(ctx) = eof(ctx.bio) to make intention to block/wait more explicit
- Loading branch information
1 parent
d1a9025
commit e6b366c
Showing
1 changed file
with
43 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters