| Server IP : 178.105.222.151 / Your IP : 216.73.216.38 Web Server : nginx/1.28.3 System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.5.4 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/twisted/protocols/haproxy/__pycache__/ |
Upload File : |
+
Dfjf � � � R t ^ RIHtHt ^ RIt ! R R]P P 4 t ! R R]P P 4 t R# )z0
Interfaces used by the PROXY protocol modules.
)�Tuple�UnionNc � � ] tR t^
tRt]P P R4 t]P P R4 t ]P P R4 t
RtR# )�
IProxyInfoz0
Data container for PROXY protocol header data.
z<The raw byestring that represents the PROXY protocol header.zNAn L{twisted.internet.interfaces.IAddress} representing the connection source.zSAn L{twisted.internet.interfaces.IAddress} representing the connection destination.� N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�zope� interface� Attribute�header�source�destination�__static_attributes__r � �G/usr/lib/python3/dist-packages/twisted/protocols/haproxy/_interfaces.pyr r
sV � �� �^�^�
%�
%�F��F� �^�^�
%�
%� ��F� �.�.�*�*� "��Kr r c �H a � ] tR t^t o RtV 3R lR ltV 3R lR ltRtV tR# )�IProxyParserz7
Streaming parser that handles PROXY protocol headers.
c �` <� V ^8� d QhRS[ RS[S[S[S[ 3, S[R, 3, /# )� �data�return)NN)�bytesr r r )�format�
__classdict__s "�r �__annotate__�IProxyParser.__annotate__$ s4 �� �
�
�5�
�U�5��U�):�#;�U�:�=N�#N�O�
r c � � R# )a�
Consume a chunk of data and attempt to parse it.
@param data: A bytestring.
@type data: bytes
@return: A two-tuple containing, in order, an L{IProxyInfo} and any
bytes fed to the parser that followed the end of the header. Both
of these values are None until a complete header is parsed.
@raises InvalidProxyHeader: If the bytes fed to the parser create an
invalid PROXY header.
Nr )r s &r �feed�IProxyParser.feed$ � � r c �&