Skip to content

Commit

Permalink
Wakeup the waiter with exception if handshake fails
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov authored and fantix committed Mar 24, 2020
1 parent f17ab43 commit 9bc4a20
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uvloop/sslproto.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ cdef class SSLProtocol:
else:
msg = 'SSL handshake failed'
self._fatal_error(exc, msg)
self._wakeup_waiter(exc)
return

if self._loop.get_debug():
Expand Down

0 comments on commit 9bc4a20

Please sign in to comment.