OwlCyberSecurity - MANAGER
Edit File: opensocketexception.cpython-312.pyc
� ��g] � �� � d dl Z d dlZd dlZ G d� de� Zd� Z e j � Zej ej d� de_ ej ej d� � ej � y# e j $ rRZej d e j k( rej r eej � n ee� Y dZ[yY dZ[ydZ[ww xY w)� Nc � � e Zd Zy)�ConnectionRejectedN)�__name__� __module__�__qualname__� � �g/opt/hc_python/lib64/python3.12/site-packages/../../../share/doc/pycurl/examples/opensocketexception.pyr r s � �r r c � � t j � dk r t d� | _ t j S |\ }}}}t j |||� }|j t j t j d� |S )Ng �?z3Rejecting connection attempt in opensocket callback� ) �randomr � exception�pycurl� SOCKET_BAD�socket� setsockopt� SOL_SOCKET�SO_KEEPALIVE)�curl�purpose�curl_address�family�socktype�protocol�address�ss r � opensocketr sj � � �}�}����+�,a�b���� � � �*6�'�F�H�h��� � �f�h��1�A��L�L��"�"�F�$7�$7��;��Hr zhttp://pycurl.ioc �$ � t t | |� S )N)r �c)r r s r �<lambda>r s � �Z��7�G�<r )r r r � Exceptionr r �Curlr �setopt�URLr �OPENSOCKETFUNCTION�perform�error�e�args�E_COULDNT_CONNECT�printr r r �<module>r, s� �� � � �� � � �F�K�K�M�� ������"� #���� ���� � �<�>���I�I�K�� �|�|� ��v�v�a�y�F�,�,�,���� �a�k�k�� �a��� ���s �-A>