$75 GRAYBYTE WORDPRESS FILE MANAGER $87

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/lib/python3.6/site-packages/urllib3/util/__pycache__/

HOME
Current File : /lib/python3.6/site-packages/urllib3/util/__pycache__//connection.cpython-36.pyc
3

nf�\�@snddlmZddlZddlmZmZddlmZdd�Zej	ddfd	d
�Z
dd�Zd
d�Zdd�Z
e
d�ZdS)�)�absolute_importN�)�NoWayToWaitForSocketError�
wait_for_read�)�_appengine_environcCsJt|dd�}|dkrdS|dkr$dSyt|dd�Stk
rDdSXdS)a 
    Returns True if the connection is dropped and should be closed.

    :param conn:
        :class:`httplib.HTTPConnection` object.

    Note: For platforms like AppEngine, this will always return ``False`` to
    let the platform handle connection recycling transparently for us.
    �sockFNTg)�timeout)�getattrrr)Zconnr�r� /usr/lib/python3.6/connection.py�is_connection_droppeds
r
cCs�|\}}|jd�r|jd�}d}t�}x�tj|||tj�D]�}|\}	}
}}}
d}yHtj|	|
|�}t||�|tjk	r~|j|�|r�|j	|�|j
|
�|Stjk
r�}z|}|dk	r�|j�d}WYdd}~Xq:Xq:W|dk	r�|�tjd��dS)adConnect to *address* and return the socket object.

    Convenience function.  Connect to *address* (a 2-tuple ``(host,
    port)``) and return the socket object.  Passing the optional
    *timeout* parameter will set the timeout on the socket instance
    before attempting to connect.  If no *timeout* is supplied, the
    global default timeout setting returned by :func:`getdefaulttimeout`
    is used.  If *source_address* is set it must be a tuple of (host, port)
    for the socket to bind as a source address before making the connection.
    An host of '' or port 0 tells the OS to use the default.
    �[z[]Nz!getaddrinfo returns an empty list)
�
startswith�strip�allowed_gai_family�socketZgetaddrinfoZSOCK_STREAM�_set_socket_options�_GLOBAL_DEFAULT_TIMEOUTZ
settimeout�bindZconnect�error�close)Zaddressr	Zsource_addressZsocket_options�hostZport�err�family�resZafZsocktype�protoZ	canonnameZsar�errr�create_connection!s2






rcCs(|dkrdSx|D]}|j|�qWdS)N)Z
setsockopt)rZoptions�optrrrrUs
rcCstj}trtj}|S)z�This function is designed to work in the context of
    getaddrinfo, where family=socket.AF_UNSPEC is the default and
    will perform a DNS search for both IPv6 and IPv4 records.)rZAF_INET�HAS_IPV6Z	AF_UNSPEC)rrrrr]srcCsbd}d}tj�rdStjrRy"tjtj�}|j|df�d}Wntk
rPYnX|r^|j�|S)z6 Returns True if the system can bind an IPv6 address. NFrT)rZis_appengine_sandboxr�has_ipv6ZAF_INET6r�	Exceptionr)rrr!rrr�	_has_ipv6hsr#z::1)Z
__future__rr�waitrrZcontribrr
rrrrr#r rrrr�<module>s3


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
29 Jan 2026 9.08 PM
root / root
0755
__init__.cpython-36.opt-1.pyc
1.021 KB
28 Jan 2026 10.03 AM
root / root
0644
__init__.cpython-36.pyc
1.021 KB
28 Jan 2026 10.03 AM
root / root
0644
connection.cpython-36.opt-1.pyc
3.011 KB
28 Jan 2026 10.03 AM
root / root
0644
connection.cpython-36.pyc
3.011 KB
28 Jan 2026 10.03 AM
root / root
0644
queue.cpython-36.opt-1.pyc
0.935 KB
28 Jan 2026 10.03 AM
root / root
0644
queue.cpython-36.pyc
0.935 KB
28 Jan 2026 10.03 AM
root / root
0644
request.cpython-36.opt-1.pyc
3.064 KB
28 Jan 2026 10.03 AM
root / root
0644
request.cpython-36.pyc
3.064 KB
28 Jan 2026 10.03 AM
root / root
0644
response.cpython-36.opt-1.pyc
1.842 KB
28 Jan 2026 10.03 AM
root / root
0644
response.cpython-36.pyc
1.842 KB
28 Jan 2026 10.03 AM
root / root
0644
retry.cpython-36.opt-1.pyc
12.47 KB
28 Jan 2026 10.03 AM
root / root
0644
retry.cpython-36.pyc
12.47 KB
28 Jan 2026 10.03 AM
root / root
0644
ssl_.cpython-36.opt-1.pyc
9.272 KB
28 Jan 2026 10.03 AM
root / root
0644
ssl_.cpython-36.pyc
9.272 KB
28 Jan 2026 10.03 AM
root / root
0644
timeout.cpython-36.opt-1.pyc
8.483 KB
28 Jan 2026 10.03 AM
root / root
0644
timeout.cpython-36.pyc
8.483 KB
28 Jan 2026 10.03 AM
root / root
0644
url.cpython-36.opt-1.pyc
5.273 KB
28 Jan 2026 10.03 AM
root / root
0644
url.cpython-36.pyc
5.273 KB
28 Jan 2026 10.03 AM
root / root
0644
wait.cpython-36.opt-1.pyc
2.995 KB
28 Jan 2026 10.03 AM
root / root
0644
wait.cpython-36.pyc
2.995 KB
28 Jan 2026 10.03 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF