Skip to content

Commit 5bf3018

Browse files
asvetlovfantix
authored andcommitted
Wakeup the waiter with exception if handshake fails
1 parent 5dc299b commit 5bf3018

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uvloop/sslproto.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,7 @@ cdef class SSLProtocol:
522522
else:
523523
msg = 'SSL handshake failed'
524524
self._fatal_error(exc, msg)
525+
self._wakeup_waiter(exc)
525526
return
526527

527528
if self._loop.get_debug():

0 commit comments

Comments
 (0)