Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 18.216.187.74
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : sslproto.cpython-313.pyc
�

1}g}|��~�SSKrSSKrSSKrSSKrSSKJr SSKJr SSKJr SSKJ	r	 SSK
Jr \b\R\R4r"SS	\R5r"S
S\R5rSrS
r"SS\	R(\	R*5r"SS\R.5rg!\a SrN�f=f)�N�)�	constants)�
exceptions)�	protocols)�
transports)�loggerc�(�\rSrSrSrSrSrSrSrSr	g)	�SSLProtocolState��	UNWRAPPED�DO_HANDSHAKE�WRAPPED�FLUSHING�SHUTDOWN�N)
�__name__�
__module__�__qualname__�__firstlineno__rr
rrr�__static_attributes__r��7/opt/alt/python313/lib64/python3.13/asyncio/sslproto.pyr
r
s���I�!�L��G��H��Hrr
c�$�\rSrSrSrSrSrSrSrg)�AppProtocolState��
STATE_INIT�STATE_CON_MADE�	STATE_EOF�STATE_CON_LOSTrN)	rrrrrrrrrrrrrrs���J�%�N��I�%�Nrrc�p�U(a[S5e[R"5nU(dSUlU$)Nz(Server side SSL needs a valid SSLContextF)�
ValueError�ssl�create_default_context�check_hostname)�server_side�server_hostname�
sslcontexts   r�_create_transport_contextr(/s2����C�D�D��+�+�-�J��$)�
�!��rc��UcUcUS-nO
UnSU-nOUnUcUS-nOUnX4s=:�aS:�dO [SU<SU<S35eX44$)Ni�rzhigh (z) must be >= low (z) must be >= 0)r!)�high�low�kb�hi�los     r�add_flowcontrol_defaultsr0=sd���|��;��d��B��B��R��B�
��
�{�
�1�W��
��
�=�q�=���b�"�#�	#��6�Mrc���\rSrSrSr\RRrSr	SSjr
SrSrSr
S	r\4S
jrSrSrS
rSSjrSrSrSSjrSrSr\S5rSrSrSrSrSr Sr!Sr"Sr#g)�_SSLProtocolTransport�RTc�*�XlX lSUlg)NF)�_loop�
_ssl_protocol�_closed)�self�loop�ssl_protocols   r�__init__�_SSLProtocolTransport.__init__Xs���
�)����rNc�8�URRX5$)z#Get optional transport information.)r6�_get_extra_info�r8�name�defaults   r�get_extra_info�$_SSLProtocolTransport.get_extra_info]s���!�!�1�1�$�@�@rc�:�URRU5 g�N)r6�_set_app_protocol)r8�protocols  r�set_protocol�"_SSLProtocolTransport.set_protocolas�����,�,�X�6rc�.�URR$rE)r6�
_app_protocol�r8s r�get_protocol�"_SSLProtocolTransport.get_protocolds���!�!�/�/�/rc�\�UR=(d URR5$rE)r7r6�_is_transport_closingrLs r�
is_closing� _SSLProtocolTransport.is_closinggs ���|�|�I�t�1�1�G�G�I�Irc�x�UR(d"SUlURR5 gSUlg)z�Close the transport.

Buffered data will be flushed asynchronously.  No more data
will be received.  After all buffered data is flushed, the
protocol's connection_lost() method will (eventually) called
with None as its argument.
TN)r7r6�_start_shutdownrLs r�close�_SSLProtocolTransport.closejs,���|�|��D�L����.�.�0�!%�D�rc�b�UR(dSUlURS[5 gg)NTz9unclosed transport <asyncio._SSLProtocolTransport object>)r7�warn�ResourceWarning)r8�	_warningss  r�__del__�_SSLProtocolTransport.__del__xs)���|�|��D�L��N�N��*�
,�rc�8�URR(+$rE)r6�_app_reading_pausedrLs r�
is_reading� _SSLProtocolTransport.is_readings���%�%�9�9�9�9rc�8�URR5 g)z|Pause the receiving end.

No data will be passed to the protocol's data_received()
method until resume_reading() is called.
N)r6�_pause_readingrLs r�
pause_reading�#_SSLProtocolTransport.pause_reading�s��	
���)�)�+rc�8�URR5 g)zmResume the receiving end.

Data received will once again be passed to the protocol's
data_received() method.
N)r6�_resume_readingrLs r�resume_reading�$_SSLProtocolTransport.resume_reading�s��	
���*�*�,rc�n�URRX5 URR5 g)a.Set the high- and low-water limits for write flow control.

These two values control when to call the protocol's
pause_writing() and resume_writing() methods.  If specified,
the low-water limit must be less than or equal to the
high-water limit.  Neither value can be negative.

The defaults are implementation-specific.  If only the
high-water limit is given, the low-water limit defaults to an
implementation-specific value less than or equal to the
high-water limit.  Setting high to zero forces low to zero as
well, and causes pause_writing() to be called whenever the
buffer becomes non-empty.  Setting low to zero causes
resume_writing() to be called only once the buffer is empty.
Use of zero for either limit is generally sub-optimal as it
reduces opportunities for doing I/O and computation
concurrently.
N)r6�_set_write_buffer_limits�_control_app_writing�r8r+r,s   r�set_write_buffer_limits�-_SSLProtocolTransport.set_write_buffer_limits�s*��&	
���3�3�D�>����/�/�1rc�Z�URRURR4$rE)r6�_outgoing_low_water�_outgoing_high_waterrLs r�get_write_buffer_limits�-_SSLProtocolTransport.get_write_buffer_limits��*���"�"�6�6��"�"�7�7�9�	9rc�6�URR5$)z-Return the current size of the write buffers.)r6�_get_write_buffer_sizerLs r�get_write_buffer_size�+_SSLProtocolTransport.get_write_buffer_size�s���!�!�8�8�:�:rc�n�URRX5 URR5 g)a7Set the high- and low-water limits for read flow control.

These two values control when to call the upstream transport's
pause_reading() and resume_reading() methods.  If specified,
the low-water limit must be less than or equal to the
high-water limit.  Neither value can be negative.

The defaults are implementation-specific.  If only the
high-water limit is given, the low-water limit defaults to an
implementation-specific value less than or equal to the
high-water limit.  Setting high to zero forces low to zero as
well, and causes pause_reading() to be called whenever the
buffer becomes non-empty.  Setting low to zero causes
resume_reading() to be called only once the buffer is empty.
Use of zero for either limit is generally sub-optimal as it
reduces opportunities for doing I/O and computation
concurrently.
N)r6�_set_read_buffer_limits�_control_ssl_readingrls   r�set_read_buffer_limits�,_SSLProtocolTransport.set_read_buffer_limits�s*��&	
���2�2�4�=����/�/�1rc�Z�URRURR4$rE)r6�_incoming_low_water�_incoming_high_waterrLs r�get_read_buffer_limits�,_SSLProtocolTransport.get_read_buffer_limits�rtrc�6�URR5$)z+Return the current size of the read buffer.)r6�_get_read_buffer_sizerLs r�get_read_buffer_size�*_SSLProtocolTransport.get_read_buffer_size�s���!�!�7�7�9�9rc�.�URR$rE)r6�_app_writing_pausedrLs r�_protocol_paused�&_SSLProtocolTransport._protocol_paused�s���!�!�5�5�5rc���[U[[[45(d![	S[U5R35eU(dgURRU45 g)z�Write some data bytes to the transport.

This does not block; it buffers the data and arranges for it
to be sent out asynchronously.
z+data: expecting a bytes-like instance, got N)	�
isinstance�bytes�	bytearray�
memoryview�	TypeError�typerr6�_write_appdata�r8�datas  r�write�_SSLProtocolTransport.write�s[���$��	�:� >�?�?��#�#'��:�#6�#6�"7�9�:�
:������)�)�4�'�2rc�:�URRU5 g)z�Write a list (or any iterable) of data bytes to the transport.

The default implementation concatenates the arguments and
calls write() on the result.
N)r6r�)r8�list_of_datas  r�
writelines� _SSLProtocolTransport.writelines�s��	
���)�)�,�7rc��[e)zeClose the write end after flushing buffered data.

This raises :exc:`NotImplementedError` right now.
)�NotImplementedErrorrLs r�	write_eof�_SSLProtocolTransport.write_eof�s
��
"�!rc��g)zAReturn True if this transport supports write_eof(), False if not.FrrLs r�
can_write_eof�#_SSLProtocolTransport.can_write_eof�s��rc�&�URS5 g)z�Close the transport immediately.

Buffered data will be lost.  No more data will be received.
The protocol's connection_lost() method will (eventually) be
called with None as its argument.
N)�_force_closerLs r�abort�_SSLProtocolTransport.abort�s��	
���$�rc�d�SUlURbURRU5 gg�NT)r7r6�_abort�r8�excs  rr��"_SSLProtocolTransport._force_close�s.��������)����%�%�c�*�*rc��URRRU5 UR=R[	U5-
slgrE)r6�_write_backlog�append�_write_buffer_size�lenr�s  r�_test__append_write_backlog�1_SSLProtocolTransport._test__append_write_backlogs7�����)�)�0�0��6����-�-��T��:�-r)r7r5r6rE�NN)$rrrr�_start_tls_compatibler�
_SendfileMode�FALLBACK�_sendfile_compatibler;rBrHrMrQrU�warningsr[r_rcrgrmrrrwr|r�r��propertyr�r�r�r�r�r�r�r�rrrrr2r2Rs���!��$�2�2�;�;���
A�7�0�J�&�!)�,�:�,�-�2�,9�;�2�,9�:��6��6�3�8�"�� �+�
;rr2c�4�\rSrSrSrSrSrSrS-SjrSr	S.Sjr
SrSrS	r
S
rSrSrS
rS.SjrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!Sr"Sr#S r$S!r%S"r&S/S#jr'S$r(S%r)S&r*S/S'jr+S(r,S)r-S*r.S0S+jr/S,r0g)1�SSLProtocoliiNc
���[c[S5e[UR5Ul[UR5UlUc[RnOUS::a[SU35eU	c[Rn	OU	S::a[SU	35eU(d[XV5nXPlU(aU(dX`l
OSUl
X0l[US9Ul["R$"5UlSUlX@lXlUR/U5 SUlSUlSUlX�lX�l[R:"5Ul[R:"5Ul[@RBUl"SUl#U(a[HRJUl&O[HRNUl&URRQUR<UR>URURS9Ul)SUl*SUl+SUl,SUl-SUl.UR_5 SUl0SUl1SUl2SUl3URi5 URk5 g)Nzstdlib ssl module not availablerz7ssl_handshake_timeout should be a positive number, got z6ssl_shutdown_timeout should be a positive number, got )r'F)r%r&)6r"�RuntimeErrorr��max_size�_ssl_bufferr��_ssl_buffer_viewr�SSL_HANDSHAKE_TIMEOUTr!�SSL_SHUTDOWN_TIMEOUTr(�_server_side�_server_hostname�_sslcontext�dict�_extra�collections�dequer�r��_waiterr5rF�_app_transport�_app_transport_created�
_transport�_ssl_handshake_timeout�_ssl_shutdown_timeout�	MemoryBIO�	_incoming�	_outgoingr
r�_state�
_conn_lostrr�
_app_stater�wrap_bio�_sslobj�_ssl_writing_pausedr^�_ssl_reading_pausedr�rrz�
_eof_receivedr�rqrprj�_get_app_transport)
r8r9�app_protocolr'�waiterr%r&�call_connection_made�ssl_handshake_timeout�ssl_shutdown_timeouts
          rr;�SSLProtocol.__init__s5��
�;��@�A�A�$�T�]�]�3��� *�4�+;�+;� <��� �(�$-�$C�$C�!�
"�a�
'���,�-�/�0�
0� �'�#,�#A�#A� �
!�Q�
&���+�,�.�/�
/��2��.�J�(���;�$3�!�$(�D�!�%���j�1���*�/�/�1���"#������
����|�,�"���&+��#����&;�#�%9�"�������������&�0�0�������.�9�9�D�O�.�=�=�D�O��'�'�0�0��N�N�D�N�N��)�)� �1�1�1�3���$)�� �#(�� �#(�� �$%��!�#$�� ��$�$�&�"���#(�� �$%��!�#$�� ��%�%�'����!rc���Xl[US5(aI[U[R5(a*UR
UlURUlSUl	gSUl	g)N�
get_bufferTF)
rK�hasattrr�r�BufferedProtocolr��_app_protocol_get_buffer�buffer_updated�_app_protocol_buffer_updated�_app_protocol_is_buffer)r8r�s  rrF�SSLProtocol._set_app_protocolasT��)���L�,�/�/��<��)C�)C�D�D�,8�,C�,C�D�)�0<�0K�0K�D�-�+/�D�(�+0�D�(rc���URcgURR5(d:UbURRU5 OURRS5 SUlgrE)r��	cancelled�
set_exception�
set_resultr�s  r�_wakeup_waiter�SSLProtocol._wakeup_waiterlsR���<�<����|�|�%�%�'�'������*�*�3�/����'�'��-���rc��URc>UR(a[S5e[URU5UlSUlUR$)Nz$Creating _SSLProtocolTransport twiceT)r�r�r�r2r5rLs rr��SSLProtocol._get_app_transportvsJ�����&��*�*�"�#I�J�J�"7��
�
�D�"I�D��*.�D�'��"�"�"rc�`�URSL=(a URR5$rE)r�rQrLs rrP�!SSLProtocol._is_transport_closing~s#�����d�*�K�t���/I�/I�/K�Krc�0�XlUR5 g)zHCalled when the low-level connection is made.

Start the SSL handshake.
N)r��_start_handshake)r8�	transports  r�connection_made�SSLProtocol.connection_made�s��
$�����rc�d�URR5 URR5 U=RS-
slUR
bSUR
lUR[R:wa�UR[R:XdUR[R:XaE[RUl
URR!UR"R$U5 UR'[R(5 SUlSUlSUlUR-U5 UR.(a!UR.R15 SUlUR2(a"UR2R15 SUlgg)z�Called when the low-level connection is lost or closed.

The argument is an exception object or None (the latter
meaning a regular EOF is received or the connection was
aborted or closed).
rNT)r��clearr��readr�r�r7r�r
r
r�rrrrr5�	call_soonrK�connection_lost�
_set_staterr�r��_shutdown_timeout_handle�cancel�_handshake_timeout_handler�s  rr��SSLProtocol.connection_lost�s9��	
���!�!�#����������1������*�*.�D���'��;�;�*�7�7�7����#3�#B�#B�B����#3�#=�#=�=�"2�"A�"A����
�
�$�$�T�%7�%7�%G�%G��M����(�2�2�3����"���!������C� ��(�(��)�)�0�0�2�,0�D�)��)�)��*�*�1�1�3�-1�D�*�*rc���UnUS::dX R:�aURn[UR5U:a*[U5Ul[	UR5UlUR
$�Nr)r�r�r�r�r�r�)r8�n�wants   rr��SSLProtocol.get_buffer�s^�����1�9��}�}�,��=�=�D��t��� �4�'�(���D��$.�t�/?�/?�$@�D�!��$�$�$rc���URRURSU5 UR[R
:XaUR
5 gUR[R:XaUR5 gUR[R:XaUR5 gUR[R:XaUR5 ggrE)
r�r�r�r�r
r
�
_do_handshaker�_do_readr�	_do_flushr�_do_shutdown)r8�nbytess  rr��SSLProtocol.buffer_updated�s��������T�2�2�7�F�;�<��;�;�*�7�7�7���� �
�[�[�,�4�4�
4��M�M�O�
�[�[�,�5�5�
5��N�N��
�[�[�,�5�5�
5�����6rc��SUlURR5(a[R"SU5 UR
[R:XaUR[5 gUR
[R:XaBUR[R5 UR(agUR5 gUR
[R:Xa@UR5 UR[R 5 UR#5 gUR
[R :XaUR#5 gg![$a UR&R)5 ef=f)z�Called when the other end of the low-level stream
is half-closed.

If this returns a false value (including None), the transport
will close itself.  If it returns a true value, closing the
transport is up to the protocol.
Tz%r received EOFN)r�r5�	get_debugr�debugr�r
r
�_on_handshake_complete�ConnectionResetErrorrr�rr^r�	_do_writerr
�	Exceptionr�rUrLs r�eof_received�SSLProtocol.eof_received�s��"���	��z�z�#�#�%�%����.��5��{�{�.�;�;�;��+�+�,@�A���� 0� 8� 8�8���� 0� 9� 9�:��+�+���N�N�$���� 0� 9� 9�9���� ���� 0� 9� 9�:��!�!�#���� 0� 9� 9�9��!�!�#�:���	��O�O�!�!�#��	�s&�A)E!�3AE!�E!�AE!�1.E!�!&Fc��XR;aURU$URbURRX5$U$rE)r�r�rBr?s   rr>�SSLProtocol._get_extra_info�s?���;�;���;�;�t�$�$�
�_�_�
(��?�?�1�1�$�@�@��Nrc�@�SnU[R:XaSnO�UR[R:XaU[R:XaSnO�UR[R:XaU[R:XaSnOiUR[R:XaU[R
:XaSnO4UR[R
:XaU[R:XaSnU(aXlg[SRURU55e)NFTz!cannot switch state from {} to {})	r
rr�r
rrrr��format)r8�	new_state�alloweds   rr��SSLProtocol._set_state�s������(�2�2�2��G�
�K�K�+�5�5�5��)�6�6�6��G�
�K�K�+�8�8�8��)�1�1�1��G�
�K�K�+�3�3�3��)�2�2�2��G�
�K�K�+�4�4�4��)�2�2�2��G��#�K��3�:�:��K�K��,�-�
-rc��URR5(a7[R"SU5 URR	5UlOSUlUR
[R5 URRURUR5UlUR5 g)Nz%r starts SSL handshake)r5rrr�time�_handshake_start_timer�r
r
�
call_laterr��_check_handshake_timeoutrr
rLs rr��SSLProtocol._start_handshakes����:�:���!�!��L�L�2�D�9�)-�����):�D�&�)-�D�&����(�5�5�6�
�J�J�!�!�$�"=�"=�"&�"?�"?�
A�	
�&�	
���rc��UR[R:Xa+SURS3nUR	[U55 gg)Nz$SSL handshake is taking longer than z! seconds: aborting the connection)r�r
r
r��_fatal_error�ConnectionAbortedError)r8�msgs  rr$�$SSLProtocol._check_handshake_timeout(sN���;�;�*�7�7�7�6��.�.�/�0*�+�
�

���4�S�9�:�
8rc��URR5 URS5 g![a UR	5 g[
RanURU5 SnAgSnAff=frE)r��do_handshaker�SSLAgainErrors�_process_outgoingr"�SSLErrorr�s  rr
�SSLProtocol._do_handshake1sb��	.��L�L�%�%�'�
�'�'��-���	%��"�"�$��|�|�	-��'�'��,�,��	-�s�.�A8�
A8�A3�3A8c��URb!URR5 SUlURnUc UR[R
5 OUeUR
5nURR5(aAURR!5UR"-
n[$R&"SXS-5 UR(R+UUR-5UR/5US9 UR0[2R4:Xa>[2R6UlUR8R;UR=55 UR5 UR?5 g![aqnSnUR[R5 [U[R5(aSnOSnURXE5 URU5 SnAgSnAff=f)Nz1SSL handshake failed on verifying the certificatezSSL handshake failedz%r: SSL handshake took %.1f msg@�@)�peercert�cipher�compression�
ssl_object) rrr�r�r
r�getpeercertrrr�r"�CertificateErrorr'r�r5rr!r"rrr��updater3r4r�rrrrKr�r�r)r8�
handshake_exc�sslobjr2r�r)�dts       rr�"SSLProtocol._on_handshake_complete;s����)�)�5��*�*�1�1�3�-1�D�*�����	��$���� 0� 8� 8�9�#�#��)�)�+�H��:�:���!�!������"�T�%?�%?�?�B��L�L�9�4�c��J�	
�����H�"(�-�-�/�'-�'9�'9�';�&,�	�	.��?�?�.�9�9�9�.�=�=�D�O����.�.�t�/F�/F�/H�I������
�
���1�		� �M��O�O�,�6�6�7��#�s�3�3�4�4�I��,�����c�'�����$���		�s�5F�
H�A'G<�<Hc���UR[R[R[R4;agUR
bSUR
lUR[R:XaURS5 gUR[R5 URRURUR5UlUR5 gr�)r�r
rrrr�r7r
r�r�r5r#r��_check_shutdown_timeoutrrrLs rrT�SSLProtocol._start_shutdownds����K�K� �)�)� �)�)� �*�*��
�
����*�*.�D���'��;�;�*�7�7�7��K�K����O�O�,�5�5�6�,0�J�J�,A�,A��*�*��,�,�-�D�)�
�N�N�rc��UR[R[R4;a0URR[R"S55 gg)NzSSL shutdown timed out)r�r
rrr�r�r�TimeoutErrorrLs rr>�#SSLProtocol._check_shutdown_timeoutysN���K�K� �)�)� �)�)��
�

�O�O�(�(��'�'�(@�A�
C�
rc��UR5 UR[R5 UR	5 grE)rr�r
rr
rLs rr�SSLProtocol._do_flush�s*���
�
�����(�1�1�2����rc�X�UR(dURR5 UR5 UR	5 URS5 g![a UR5 g[RanURU5 SnAgSnAff=frE)	r�r��unwrapr.�_call_eof_received�_on_shutdown_completer-r"r/r�s  rr
�SSLProtocol._do_shutdown�s���
	-��%�%����#�#�%�
�"�"�$��#�#�%��&�&�t�,���	%��"�"�$��|�|�	,��&�&�s�+�+��	,�s�+A�B)�;B)�B$�$B)c���URb!URR5 SUlU(aURU5 gURR	UR
R5 grE)rrr'r5r�r�rU)r8�shutdown_excs  rrH�!SSLProtocol._on_shutdown_complete�sU���(�(�4��)�)�0�0�2�,0�D�)�����l�+��J�J� � ����!6�!6�7rc��UR[R5 URbURR	U5 ggrE)r�r
rr�r�r�s  rr��SSLProtocol._abort�s6�����(�2�2�3��?�?�&��O�O�(�(��-�'rc�H�UR[R[R[R4;aJUR
[R:�a[R"S5 U=R
S-
slgUH<nURRU5 U=R[U5-
slM> UR[R:XaUR5 gg![ anUR#US5 SnAgSnAff=f)NzSSL connection is closedr�Fatal error on SSL protocol)r�r
rrrr�r�!LOG_THRESHOLD_FOR_CONNLOST_WRITESr�warningr�r�r�r�rrrr')r8r�r��exs    rr��SSLProtocol._write_appdata�s����K�K� �)�)� �)�)� �*�*��
����)�"M�"M�M����9�:��O�O�q� �O�� �D����&�&�t�,��#�#�s�4�y�0�#�!�	A��{�{�.�6�6�6���� �7���	A����b�"?�@�@��	A�s�.C;�;
D!�D�D!c��UR(a�URSnURRU5n[U5nX#:a'XSURS'U=RU-slO"URS	U=RU-slUR(aM�UR
5 g![
a Nf=fr)r�r�r�r�r�r-r.)r8r��count�data_lens    rr�SSLProtocol._do_write�s���	��%�%��*�*�1�-�����*�*�4�0���t�9���#�-1�&�\�D�'�'��*��+�+�u�4�+��+�+�A�.��+�+�x�7�+��%�%�%�	
��� ���	��	�s�B%B:�:
C�Cc���UR(dEURR5n[U5(aURRU5 UR
5 grE)r�r�r�r�r�r�rkr�s  rr.�SSLProtocol._process_outgoing�sD���'�'��>�>�&�&�(�D��4�y�y����%�%�d�+��!�!�#rc��UR[R[R4;agUR(ddUR
(aUR
5 OUR5 UR(aUR5 OUR5 UR5 g![anURUS5 SnAgSnAff=f)NrP)r�r
rrr^r��_do_read__buffered�_do_read__copiedr�rr.r{rr')r8rSs  rr�SSLProtocol._do_read�s����K�K� �(�(� �)�)� �
�

�	A��+�+��/�/��+�+�-��)�)�+��&�&��N�N�$��*�*�,��%�%�'���	A����b�"?�@�@��	A�s�BB7�7
C�C�Cc��SnSnURUR55n[U5nURR	XC5nUS:�a_UnX:a3URR	XA-
X1S5nUS:�aX-
nOO,X:aM3UR
R
UR5 US:�aURU5 U(d!UR5 UR5 gg![a NLf=f)Nrr)r�r�r�r�r�r5r�rr-r�rGrT)r8�offsetrV�buf�wantss     rr\�SSLProtocol._do_read__buffered�s��������+�+�D�,F�,F�,H�I���C���	��L�L�%�%�e�1�E��q�y����n� �L�L�-�-�e�n�c�'�l�K�E��q�y������n��J�J�(�(����7��A�:��-�-�f�5���#�#�%�� � �"���	�	��	�s�AC0�C0�%C0�0
C=�<C=c���SnSnSnURRUR5nU(dO/U(aSnSnUnOU(aSnWU/nOWRU5 M\U(aUR
R
W5 O1U(d*UR
R
SRW55 U(d!UR5 UR5 gg![a N�f=f)N�1TFr)
r�r�r�r�r-rK�
data_received�joinrGrT)r8�chunk�zero�one�firstr�s      rr]�SSLProtocol._do_read__copied
s���������	�����)�)�$�-�-�8����� �D��C�!�E���C�!�5�>�D��K�K��&������,�,�U�3�����,�,�S�X�X�d�^�<���#�#�%�� � �"���
�	��	�s�-C"�/C"�"
C/�.C/c�P�UR[R:XaN[RUlURR5nU(a[R"S5 ggg![[4a e[anURUS5 SnAgSnAff=f)Nz?returning true from eof_received() has no effect when using sslzError calling eof_received())r�rrrrKrrrR�KeyboardInterrupt�
SystemExit�
BaseExceptionr')r8�	keep_openrSs   rrG�SSLProtocol._call_eof_received(s���
	B����"2�"A�"A�A�"2�"<�"<��� �.�.�;�;�=�	���N�N�$B�C��B��"�:�.�	���	B����b�"@�A�A��	B�s�A*A/�/B%�	B � B%c�v�UR5nXR:�a4UR(d#SUlURR	5 gXR::a5UR(a#SUlURR5 ggg![
[4a e[a4nURRSUURUS.5 SnAgSnAff=f![
[4a e[a4nURRSUURUS.5 SnAgSnAff=f)NTzprotocol.pause_writing() failed��message�	exceptionr�rGFz protocol.resume_writing() failed)
rvrqr�rK�
pause_writingrnrorpr5�call_exception_handlerr�rp�resume_writing)r8�sizer�s   rrk� SSLProtocol._control_app_writing7s ���*�*�,���,�,�,�T�5M�5M�'+�D�$�

��"�"�0�0�2��-�-�
-�$�2J�2J�',�D�$�

��"�"�1�1�3�3K�
-��&�z�2�
�� �
��
�
�1�1�@�!$�!%�!4�!4� $�	3����
��&�z�2�
�� �
��
�
�1�1�A�!$�!%�!4�!4� $�	3����
�s/�B�<C*�C'�3*C"�"C'�*D8�*D3�3D8c�H�URRUR-$rE)r��pendingr�rLs rrv�"SSLProtocol._get_write_buffer_sizeTs���~�~�%�%��(?�(?�?�?rc�T�[X[R5upXlX lgrE)r0r�!FLOW_CONTROL_HIGH_WATER_SSL_WRITErqrprls   rrj�$SSLProtocol._set_write_buffer_limitsWs&��,��y�B�B�D�	��$(�!�#&� rc��SUlgr�)r^rLs rrb�SSLProtocol._pause_reading_s
��#'�� rc�z^�TR(a)STlU4SjnTRRU5 gg)NFc� >�TR[R:XaTR5 gTR[R:XaTR5 gTR[R:XaTR5 ggrE)r�r
rrrrrr
rLs�r�resume�+SSLProtocol._resume_reading.<locals>.resumefs`����;�;�"2�":�":�:��M�M�O��[�[�$4�$=�$=�=��N�N�$��[�[�$4�$=�$=�=��%�%�'�>r)r^r5r�)r8r�s` rrf�SSLProtocol._resume_readingbs2����#�#�',�D�$�
(�
�J�J� � ��(�$rc�.�UR5nXR:�a3UR(d"SUlURR	5 gXR
::a4UR(a"SUlURR
5 ggg)NTF)r�r�r�r�rcrrg)r8rzs  rr{� SSLProtocol._control_ssl_readingqsq���)�)�+���,�,�,�T�5M�5M�'+�D�$��O�O�)�)�+�
�-�-�
-�$�2J�2J�',�D�$��O�O�*�*�,�3K�
-rc�T�[X[R5upXlX lgrE)r0r� FLOW_CONTROL_HIGH_WATER_SSL_READr�rrls   rrz�#SSLProtocol._set_read_buffer_limitszs&��,��y�A�A�C�	��$(�!�#&� rc�.�URR$rE)r�r}rLs rr��!SSLProtocol._get_read_buffer_size�s���~�~�%�%�%rc�8�UR(aeSUlg)zLCalled when the low-level transport's buffer goes over
the high-water mark.
TN)r�rLs rrw�SSLProtocol.pause_writing�s���+�+�+�+�#'�� rc�X�UR(deSUlUR5 g)zNCalled when the low-level transport's buffer drains below
the low-water mark.
FN)r�r.rLs rry�SSLProtocol.resume_writing�s'���'�'�'�'�#(�� ���� rc��UR(aURRU5 [U[5(a7URR5(a[R"SXSS9 gg[U[R5(d+URRUUURUS.5 gg)Nz%r: %sT)�exc_infort)r�r�r��OSErrorr5rrrr�CancelledErrorrx)r8r�rus   rr'�SSLProtocol._fatal_error�s����?�?��O�O�(�(��-��c�7�#�#��z�z�#�#�%�%����X�t�t�D�&��C��!:�!:�;�;��J�J�-�-�"� �!�_�_� �	/�
�<r)%rKr�r�r�r^r�r�r�r�r�r�r�r"rr�r�rr5r�rqrpr�r�rr�r�r�r�r�r�r�r�r�r�r�r�r�)FNTNNrEr�)zFatal error on transport)1rrrrr�r"rrr;rFr�r�rPr�r�r�r�rr>r�r�r$r
rrTr>rr
rHr�r�rr.rr\r]rGrkrvrjrbrfr{rzr�rwryr'rrrrr�r�s����H� �� $��#��59�&*�'+�&*�	Q"�f	1��#�L� �"2�H%�
 �!�F�$-�P� ;�.�%�R�*C��
-�8�.�A�0!� $�A�,#�:#�<B��:@�'�(�)�-�'�&�
(�!�
rr�)r��enumr�r"�ImportError�rrrr�logr�SSLWantReadError�SSLSyscallErrorr-�Enumr
rr(r0�_FlowControlMixin�	Transportr2r�r�rrr�<module>r�s���
�����������?��*�*�C�,?�,?�@�N��t�y�y��
&�t�y�y�
&� ��*r;�J�8�8�&�0�0�r;�jZ
�)�,�,�Z
��{��
�C��s�B1�1B<�;B<
© 2025 GrazzMean-Shell