403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.9/site-packages/urllib3/util/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.9/site-packages/urllib3/util/__pycache__/timeout.cpython-39.opt-2.pyc
a

�?�a'�@sTddlmZddlZddlmZddlmZe�Ze	edej�Z
Gdd�de�ZdS)	�)�absolute_importN)�_GLOBAL_DEFAULT_TIMEOUT�)�TimeoutStateError�	monotonicc@steZdZeZdeefdd�Zdd�ZeZe	dd��Z
e	dd	��Zd
d�Zdd
�Z
dd�Zedd��Zedd��ZdS)�TimeoutNcCs4|�|d�|_|�|d�|_|�|d�|_d|_dS)N�connect�read�total)�_validate_timeout�_connect�_readr
�_start_connect)�selfr
rr	�r�8/usr/lib/python3.9/site-packages/urllib3/util/timeout.py�__init__fszTimeout.__init__cCsdt|�j|j|j|jfS)Nz!%s(connect=%r, read=%r, total=%r))�type�__name__rr
r
�rrrr�__repr__ls�zTimeout.__repr__c	Cs�|tur|jS|dus ||jur$|St|t�r6td��zt|�Wn&ttfyhtd||f��Yn0z|dkr�td||f��Wn"ty�td||f��Yn0|S)NzDTimeout cannot be a boolean value. It must be an int, float or None.z>Timeout value %s was %s, but it must be an int, float or None.rzdAttempted to set %s timeout to %s, but the timeout cannot be set to a value less than or equal to 0.)�_Default�DEFAULT_TIMEOUT�
isinstance�bool�
ValueError�float�	TypeError)�cls�value�namerrrrws<
���
����
zTimeout._validate_timeoutcCst||d�S)N)r	r)r)r�timeoutrrr�
from_float�szTimeout.from_floatcCst|j|j|jd�S)N)rr	r
)rrr
r
rrrr�clone�sz
Timeout.clonecCs |jdurtd��t�|_|jS)Nz'Timeout timer has already been started.�rr�current_timerrrr�
start_connect�s
zTimeout.start_connectcCs|jdurtd��t�|jS)Nz:Can't get connect duration for timer that has not started.r$rrrr�get_connect_duration�s

�zTimeout.get_connect_durationcCs:|jdur|jS|jdus&|j|jur,|jSt|j|j�S)N)r
rr�minrrrr�connect_timeout�s


zTimeout.connect_timeoutcCs�|jdurX|j|jurX|jdurX|j|jurX|jdur<|jStdt|j|��|j��S|jdur�|j|jur�td|j|���S|jSdS)Nr)r
rr
r�maxr(r'rrrr�read_timeout�s�
��
�
zTimeout.read_timeout)r�
__module__�__qualname__rrrrr�__str__�classmethodrr"r#r&r'�propertyr)r+rrrrrsP	
-

r)Z
__future__r�timeZsocketr�
exceptionsr�objectr�getattrr%rrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit