@@ -548,7 +548,6 @@ cdef class SSLProtocol:
548548 if self ._app_state == STATE_INIT:
549549 self ._app_state = STATE_CON_MADE
550550 self ._app_protocol.connection_made(self ._get_app_transport())
551-
552551 self ._wakeup_waiter()
553552
554553 # We should wakeup user code before sending the first data below. In
@@ -561,7 +560,7 @@ cdef class SSLProtocol:
561560 new_MethodHandle(self ._loop,
562561 " SSLProtocol._do_read" ,
563562 < method_t> self ._do_read,
564- None , # current context is good
563+ None , # current context is good
565564 self ))
566565
567566 # Shutdown flow
@@ -761,7 +760,7 @@ cdef class SSLProtocol:
761760 new_MethodHandle(self ._loop,
762761 " SSLProtocol._do_read" ,
763762 < method_t> self ._do_read,
764- None , # current context is good
763+ None , # current context is good
765764 self ))
766765 except ssl_SSLAgainErrors as exc:
767766 pass
@@ -797,12 +796,10 @@ cdef class SSLProtocol:
797796 data.append(chunk)
798797 except ssl_SSLAgainErrors as exc:
799798 pass
800-
801799 if one:
802800 self ._app_protocol.data_received(first)
803801 elif not zero:
804802 self ._app_protocol.data_received(b' ' .join(data))
805-
806803 if not chunk:
807804 # close_notify
808805 self ._call_eof_received()
@@ -892,12 +889,11 @@ cdef class SSLProtocol:
892889 self ._app_reading_paused = False
893890 if self ._state == WRAPPED:
894891 self ._loop._call_soon_handle(
895- new_MethodHandle1(self ._loop,
896- " SSLProtocol._do_read" ,
897- < method1_t> self ._do_read,
898- context,
899- self ,
900- context))
892+ new_MethodHandle(self ._loop,
893+ " SSLProtocol._do_read" ,
894+ < method_t> self ._do_read,
895+ context,
896+ self ))
901897
902898 # Flow control for reads from SSL socket
903899
0 commit comments