asyncnet: clear SSL error queue before performing I/O
Follow up of 476be6cc278d58232e2c6cd3515eb24eca7e2d38
This commit is contained in:
parent
256841cf2c
commit
e4e3d99ee2
1 changed files with 1 additions and 0 deletions
|
|
@ -253,6 +253,7 @@ when defineSsl:
|
|||
op: untyped) =
|
||||
var opResult {.inject.} = -1.cint
|
||||
while opResult < 0:
|
||||
ErrClearError()
|
||||
# Call the desired operation.
|
||||
opResult = op
|
||||
# Bit hackish here.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue