kr.motd.maven.sphinx.dist.urllib3.contrib.socks$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ ?
This module contains provisional support for SOCKS proxies from within
urllib3. This module supports SOCKS4 (specifically the SOCKS4A variant) and
SOCKS5. To enable its functionality, either install PySocks or install this
module with the ``socks`` extra.
The SOCKS implementation supports the full range of urllib3 features. It also
supports the following SOCKS features:
- SOCKS4
- SOCKS4a
- SOCKS5
- Usernames and passwords for the SOCKS proxy
Known Limitations:
- Currently PySocks does not support contacting remote websites via literal
IPv6 addresses. Any such connection attempt will fail. You must use a domain
name.
- Currently PySocks does not support IPv6 connections to the SOCKS proxy. Any
such connection attempt will fail.
org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
__future__ java/lang/String absolute_import org/python/core/imp
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;
! setlocal #
$ socks & importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject; ( )
* org/python/core/Py , setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; . /
- 0 ImportError 2 getname .(Ljava/lang/String;)Lorg/python/core/PyObject; 4 5
6 org/python/core/PyException 8 match (Lorg/python/core/PyObject;)Z : ;
9 < warnings >
exceptions @ DependencyWarning B warn D org/python/core/PyObject F __getattr__ H 5
G I ?SOCKS support in urllib3 requires the installation of optional dependencies: specifically, PySocks. For more information, see https://urllib3.readthedocs.io/en/latest/contrib.html#socks-proxies K __call__ m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; M N
G O
makeException ()Lorg/python/core/PyException; Q R
- S java/lang/Throwable U socket W error Y timeout [ SocketError ]
SocketTimeout _
connection a HTTPConnection c HTTPSConnection e connectionpool g HTTPConnectionPool i HTTPSConnectionPool k ConnectTimeoutError m NewConnectionError o poolmanager q PoolManager s util.url u parse_url w ssl y None { SOCKSConnection } SOCKSConnection$1
__module__ ? __name__ ? G
A plain-text HTTP connection that connects via a SOCKS proxy.
? EmptyObjects [Lorg/python/core/PyObject; ? ? - ? org/python/core/PyFunction ? f_globals Lorg/python/core/PyObject; ? ? ?
__init__$2 getlocal (I)Lorg/python/core/PyObject; ? ?
? pop ? _socks_options ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; M ?
G ? __setattr__ ?
G ? super ? getglobal ? 5
? __init__ ?
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
G ? f_lasti I ? ? ? { ? - ? urllib3/contrib/socks$py ? Lorg/python/core/PyCode; ? ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V ? ?
? ? _new_conn$3 A
Establish a new connection via the SOCKS proxy.
? org/python/core/PyDictionary ? ([Lorg/python/core/PyObject;)V ? ?
? ? (ILorg/python/core/PyObject;)V # ?
? source_address ? __nonzero__ ()Z ? ?
G ? __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V ? ?
G ? socket_options ? create_connection ? org/python/core/PyTuple ? host ? port ?
? ?
socks_version ? __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
G ?
proxy_host ?
proxy_port ? username ? password ? rdns ?
proxy_type ?
proxy_addr ? proxy_username ? proxy_password ?
proxy_rdns ? value ? ? 9 ? 0Connection to %s timed out. (connect timeout=%s) ? _mod ? ?
G ? 9(Lorg/python/core/PyObject;)Lorg/python/core/PyException; Q ?
- ?
ProxyError ?
socket_err
isinstance (Failed to establish a new connection: %s ? ? ? _new_conn getf_locals ()Lorg/python/core/PyObject;
? ? makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;
- java/util/Arrays fill (([Ljava/lang/Object;Ljava/lang/Object;)V
SOCKSHTTPSConnection SOCKSHTTPSConnection$4 ? ? SOCKSHTTPConnectionPool SOCKSHTTPConnectionPool$5
ConnectionCls"! ? ?$ SOCKSHTTPSConnectionPool& SOCKSHTTPSConnectionPool$6( ? ?) SOCKSProxyManager+ SOCKSProxyManager$7 h
A version of the urllib3 ProxyManager that routes connections via the
defined SOCKS proxy.
. http0 https2 pool_classes_by_scheme4
newInteger (I)Lorg/python/core/PyInteger;67
-8
__init__$8 scheme; socks5= _eq? ?
G@ PROXY_TYPE_SOCKS5B FalseD socks5hF TrueH socks4J PROXY_TYPE_SOCKS4L socks4aN
ValueErrorP )Unable to determine SOCKS version from %sR proxy_urlT: ? ?V- ? ?X (Ljava/lang/String;)V org/python/core/PyFunctionTable[ ()V ?]
\^ self Lurllib3/contrib/socks$py;`a ?b d newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;fg
-h ? ?j` argsm kwargso extra_kwq conns eu num_poolsw headersy connection_pool_kw{ parsed}
socks_options getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? ?Z
????
?? org/python/core/CodeLoader? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
?? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V??
-? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap? )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;??
??
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
??
?? ?
?? ?
??
??!
??(
??-
??:
?? org/python/core/PyRunnable? Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `9?? Lorg/python/compiler/Filename; _/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/urllib3/contrib/socks.py org/python/core/ThreadState? ? java/lang/Object? [Ljava/lang/String;? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ?\ ?
`a ? ? ? ? ? ? ? ! ? ( ? - ? : ? ? ? ?+? ? +? ? W+? ? N-S-+? "N-2:+? %:+? '+? +N+'-? %N? ?+? 1N-+3? 7? =? y+? ?+? +:+?? %:+? A? :CS+? ":2:+C? %:+ ? +?? 7E? J,L? +C? 7? PW+'? ? T? ?-?+)? X? N-ZS-\S-+? "N-2:+^? %:-2:+`? %:++? b? N-dS-fS-+? "N-2:+d? %:-2:+f? %:+.? h? N-jS-lS-+? "N-2:+j? %:-2:+l? %:+1? A? N-nS-pS-+? "N-2:+n? %:-2:+p? %:+2? r? N-tS-+? "N-2:+t? %:+3? v? N-xS-+? "N-2:+x? %:+6? z+? +N+z-? %N? 3+? 1N-+3? 7? =? +8? +|? 7:+z? %:? -?+;? ? GN+d? 7-__S~-??:+~? %:-?+ ?? ? GN+~? 7-__S+f? 7-__S-??:+? %:-?+ ?? ? GN+j? 7-__S -?%?:+ ? %:-?+ ?? ? GN+l? 7-__S'-?*?:+'? %:-?+ ?? ? GN+t? 7-__S,-?Y?:+,? %:-?+? ?? ?? @ W Z V.EH V ? R ' ) + . 1 2 3 6 8 ; ? ? ? ?? ? Z ? ?? V ? V ? ? ? 9 ? ? ? H ? ?? Vv ? ? 9 x ? ? 9 ? ? u+?+?? 7? %+?? ? %+>? ?? W+?? ? ?N? ?Y+? ?-? ?? ?N+?-? %N+C? ? ?N? ?Y+? ?-??? ? ?N+ -? %N+?
? ? > ? C ? ? ? o+@? +? ??? J,?? ? ?N+? ??-? ?N+A? +?? ?,+~? ?+? ?? P?? J? ?N? :+? ?+? ?-^X? ?NW+? ?? ?? ?
@ A ? ? ? ?+F? ?? W+G? ? ?Y? ?? ?N+-? ?N+H? +? ?Ŷ J? ə '+I? +? ?Ŷ JN+? ?Ÿ -? ?N? +K? +? ?϶ J? ə '+L? +? ?϶ JN+? ?ϸ -? ?N? +O? +'? ?Ѷ J? GN? ?Y? GY+? ?ն JSY+? ? JS? ?-__S+? ??? Jڸ ? ?-__S+? ??? J? ? ?-__S+? ??? J? ? ?-__S+? ??? J? ? ?-__S+? ??? J? ? ?-__S+? ??? J? ? ?-__S+? ?\? J-__S? :?S?S?S?S?S?S\S+? ?-^X? ?NN+-? ?N??+? 1N-+`? ?? =? \-? ?:+? ?:+\? +n? ?,+? ??? ? ?Y? GY+? ?ն JSY+? ?\? JS? ض ?? P? ?? ?-+'? ??? J? =? -? ?:+? ?:+c? +? ?? J? ə ?+d? +? ?? J:+? ?:+e? +? ?,+? ?+`? ?? P? ə I+f? +n? ?,+? ??? ? ?Y? GY+? ?ն JSY+? ?\? JS? ض ?? P? ??+l? +p? ?,+? ?? +? ?? ?? P? ??+q? +p? ?,+? ?? +? ?? ?? P? ?? ?-+^? ?? =? =-? ?:+? ?:+w? +p? ?,+? ?? +? ?? ?? P? ?? ?-?+z? +? ?N+? ?-? ??? V ? B F G H I K L O \ c d e f l q w z? ? _ ? ? ? ? ? ? ? ? V+ V. ? ? 9 ? ? ? 9 ? ? 9 : V= ? ? 9 ? V? ? ? 9 ? ? ?? ? 0 +?+?? 7? %+ ?? +?
? ? ? ! ? A )+?+?? 7? %+ ?? +~? 7N+#-? %N+?
? ? ? ( ? B *+?+?? 7? %+ ?? +? 7N+#-? %N+?
? ? ? - ? ? ?+?+?? 7? %+/? ? %+ ?? /? W+ ?? ? ?Y? GY1? SY+ ? 7SY3? SY+'? 7S? ?N+5-? %N+ ?? ? GN+|? 7-__S+|? 7-__S
?9-__S+|? 7-__S? ?Y+? ?-?W? ?N+?-? %N+?
? ? ? ? ? : ? ?
+ ?? +x? ?,+? ?? ?N+-? ?N+ ?? +? ?