Linux server.nvwebsoft.co.in 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
Apache
: 162.240.12.249 | : 3.145.12.100
202 Domain
8.1.31
nbspublicschool
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
python2.7 /
site-packages /
urllib3 /
util /
[ HOME SHELL ]
Name
Size
Permission
Action
__init__.py
486
B
-rw-r--r--
__init__.pyc
787
B
-rw-r--r--
__init__.pyo
787
B
-rw-r--r--
connection.py
3.22
KB
-rw-r--r--
connection.pyc
2.87
KB
-rw-r--r--
connection.pyo
2.87
KB
-rw-r--r--
request.py
2.04
KB
-rw-r--r--
request.pyc
2.09
KB
-rw-r--r--
request.pyo
2.09
KB
-rw-r--r--
response.py
566
B
-rw-r--r--
response.pyc
632
B
-rw-r--r--
response.pyo
632
B
-rw-r--r--
retry.py
10.21
KB
-rw-r--r--
retry.pyc
9.89
KB
-rw-r--r--
retry.pyo
9.89
KB
-rw-r--r--
ssl_.py
8.63
KB
-rw-r--r--
ssl_.pyc
7.98
KB
-rw-r--r--
ssl_.pyo
7.98
KB
-rw-r--r--
timeout.py
9.32
KB
-rw-r--r--
timeout.pyc
9.32
KB
-rw-r--r--
timeout.pyo
9.32
KB
-rw-r--r--
url.py
5.92
KB
-rw-r--r--
url.pyc
6.05
KB
-rw-r--r--
url.pyo
6.05
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : timeout.pyo
� v�Sc @ sX d d l m Z d d l Z d d l m Z e � Z d � Z d e f d � � YZ d S( i����( t _GLOBAL_DEFAULT_TIMEOUTNi ( t TimeoutStateErrorc C s t j � S( sQ Retrieve the current time. This function is mocked out in unit testing. ( t time( ( ( s8 /usr/lib/python2.7/site-packages/urllib3/util/timeout.pyt current_time s t Timeoutc B s� e Z d Z e Z d e e d � Z d � Z e d � � Z e d � � Z d � Z d � Z d � Z e d � � Z e d � � Z RS( s� Timeout configuration. Timeouts can be defined as a default for a pool:: timeout = Timeout(connect=2.0, read=7.0) http = PoolManager(timeout=timeout) response = http.request('GET', 'http://example.com/') Or per-request (which overrides the default for the pool):: response = http.request('GET', 'http://example.com/', timeout=Timeout(10)) Timeouts can be disabled by setting all the parameters to ``None``:: no_timeout = Timeout(connect=None, read=None) response = http.request('GET', 'http://example.com/, timeout=no_timeout) :param total: This combines the connect and read timeouts into one; the read timeout will be set to the time leftover from the connect attempt. In the event that both a connect timeout and a total are specified, or a read timeout and a total are specified, the shorter timeout will be applied. Defaults to None. :type total: integer, float, or None :param connect: The maximum amount of time to wait for a connection attempt to a server to succeed. Omitting the parameter will default the connect timeout to the system default, probably `the global default timeout in socket.py <http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_. None will set an infinite timeout for connection attempts. :type connect: integer, float, or None :param read: The maximum amount of time to wait between consecutive read operations for a response from the server. Omitting the parameter will default the read timeout to the system default, probably `the global default timeout in socket.py <http://hg.python.org/cpython/file/603b4d593758/Lib/socket.py#l535>`_. None will set an infinite timeout. :type read: integer, float, or None .. note:: Many factors can affect the total amount of time for urllib3 to return an HTTP response. For example, Python's DNS resolver does not obey the timeout specified on the socket. Other factors that can affect total request time include high CPU load, high swap, the program running at a low priority level, or other behaviors. In addition, the read and total timeouts only measure the time between read operations on the socket connecting the client and the server, not the total amount of time for the request to return a complete response. For most requests, the timeout is raised because the server has not sent the first byte in the specified time. This is not always the case; if a server streams one byte every fifteen seconds, a timeout of 20 seconds will not trigger, even though the request will take several minutes to complete. If your goal is to cut off any request after a set amount of wall clock time, consider having a second "watcher" thread to cut off a slow request. c C sL | j | d � | _ | j | d � | _ | j | d � | _ d | _ d S( Nt connectt readt total( t _validate_timeoutt _connectt _readR t Nonet _start_connect( t selfR R R ( ( s8 /usr/lib/python2.7/site-packages/urllib3/util/timeout.pyt __init__^ s c C s&