$46 GRAYBYTE WORDPRESS FILE MANAGER $77

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

/lib/python2.7/site-packages/pip/_vendor/urllib3/util/

HOME
Current File : /lib/python2.7/site-packages/pip/_vendor/urllib3/util//connection.pyo
�
��abc@@s�ddlmZddlZddlmZddlmZmZd�Zej	ddd�Zd�Zd	�Z
d
�Zed�ZdS(i(tabsolute_importNi(t
wait_for_read(t
HAS_SELECTt
SelectorErrorcC@sot|dt�}|tkr"tS|dkr2tSts<tSytt|dd��SWntk
rjtSXdS(s 
    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.
    tsockttimeoutgN(tgetattrtFalsetNonetTrueRtboolRR(tconnR((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pytis_connection_droppeds

cC@sO|\}}|jd�r-|jd�}nd}t�}x�tj|||tj�D]�}|\}	}
}}}
d}yltj|	|
|�}t||�|tjk	r�|j	|�n|r�|j
|�n|j|
�|SWqXtjk
r"}|}|dk	r#|j
�d}q#qXXqXW|dk	r<|�ntjd��dS(sdConnect 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.
    t[s[]s!getaddrinfo returns an empty listN(t
startswithtstripRtallowed_gai_familytsockettgetaddrinfotSOCK_STREAMt_set_socket_optionst_GLOBAL_DEFAULT_TIMEOUTt
settimeouttbindtconnectterrortclose(taddressRtsource_addresstsocket_optionsthosttportterrtfamilytrestaftsocktypetprotot	canonnametsaRte((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pytcreate_connection$s2	"


	cC@s2|dkrdSx|D]}|j|�qWdS(N(Rt
setsockopt(Rtoptionstopt((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pyRXs
cC@stj}trtj}n|S(s�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.(RtAF_INETtHAS_IPV6t	AF_UNSPEC(R!((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pyR`s	cC@srd}t}tjr[y/tjtj�}|j|df�t}Wq[tk
rWq[Xn|rn|j�n|S(s6 Returns True if the system can bind an IPv6 address. iN(	RRRthas_ipv6tAF_INET6RR	t	ExceptionR(RRR0((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pyt	_has_ipv6ks	


s::1(t
__future__RRtwaitRt	selectorsRRRRRR)RRR3R.(((sG/usr/lib/python2.7/site-packages/pip/_vendor/urllib3/util/connection.pyt<module>s	3			


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 8.23 PM
root / root
0755
__init__.py
1.02 KB
21 Apr 2022 6.08 PM
root / root
0644
__init__.pyc
1.247 KB
21 Apr 2022 6.08 PM
root / root
0644
__init__.pyo
1.247 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.py
4.138 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.pyc
3.78 KB
21 Apr 2022 6.08 PM
root / root
0644
connection.pyo
3.78 KB
21 Apr 2022 6.08 PM
root / root
0644
request.py
3.618 KB
21 Apr 2022 6.08 PM
root / root
0644
request.pyc
3.669 KB
21 Apr 2022 6.08 PM
root / root
0644
request.pyo
3.669 KB
21 Apr 2022 6.08 PM
root / root
0644
response.py
2.288 KB
21 Apr 2022 6.08 PM
root / root
0644
response.pyc
2.243 KB
21 Apr 2022 6.08 PM
root / root
0644
response.pyo
2.243 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.py
14.75 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.pyc
14.383 KB
21 Apr 2022 6.08 PM
root / root
0644
retry.pyo
14.383 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.py
20.651 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.pyc
20.493 KB
21 Apr 2022 6.08 PM
root / root
0644
selectors.pyo
20.493 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.py
11.928 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.pyc
10.356 KB
21 Apr 2022 6.08 PM
root / root
0644
ssl_.pyo
10.356 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.py
9.528 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.pyc
9.488 KB
21 Apr 2022 6.08 PM
root / root
0644
timeout.pyo
9.488 KB
21 Apr 2022 6.08 PM
root / root
0644
url.py
6.639 KB
21 Apr 2022 6.08 PM
root / root
0644
url.pyc
6.614 KB
21 Apr 2022 6.08 PM
root / root
0644
url.pyo
6.614 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.py
1.417 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.pyc
1.799 KB
21 Apr 2022 6.08 PM
root / root
0644
wait.pyo
1.799 KB
21 Apr 2022 6.08 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF