| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/tornado/test/__pycache__/ |
Upload File : |
�
��bF � �$ � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl m
Z
ej ej dk p
ej dk d� � Z
ej dej v d� � Z ej dej v d � � Z ej ej � � d
k d� � Z ej ej � � dk oej d
k o
ej dk d� � Zd� Z ej e� � d� � Zd� Zd� Zd� Ze j d� � � ZdS )� N)�bind_unused_port�posix�cygwinznon-unix platform�TRAVISz!timing tests unreliable on travis�
NO_NETWORKznetwork access disabled�CPythonzNot CPython implementation�PyPy)� )� � zpypy3 5.8 has buggy ssl modulec �T � t j sdS d } t j t j � � } | � d� � n.# t j $ r Y | �| � � � dS dS w xY w | �| � � � n# | �| � � � w w xY wdS )NF)z::1r T)�socket�has_ipv6�AF_INET6�bind�error�close)�socks �3/usr/lib/python3/dist-packages/tornado/test/util.py�_detect_ipv6r * s� � ��?� � �u��D���}�V�_�-�-��� � �*�������<� � � �����J�J�L�L�L�L�L� ������ � ���J�J�L�L�L��� ���J�J�L�L�L�L� �����4s) �3A �B �A1�B �0A1�1B �B%zipv6 support not presentc �> � t � � \ } }| � d� � t j � � }|� d|f� � | � � � \ }}|� � � | � � � |j |d fS )z�Returns a local port number that will refuse all connections.
Return value is (cleanup_func, port); the cleanup function
must be called to free the port to be reused.
Tz 127.0.0.1� )r �setblockingr �connect�acceptr )�
server_socket�port�
client_socket�conn�client_addrs r �
refusing_portr! >