+
    i%                         ^ RI Ht ^ RIt^RIHt ^RIHt ^RIHt ^RI	H
t
Ht R t]P                  RR3R ltR	 tR
 tR t]! R4      tR# )    )absolute_importN)_appengine_environ)LocationParseError)six)NoWayToWaitForSocketErrorwait_for_readc                x    \        V RR4      pVRJ d   R# Vf   R#  \        VRR7      #   \         d     R# i ; i)a  
Returns True if the connection is dropped and should be closed.

:param conn:
    :class:`http.client.HTTPConnection` object.

Note: For platforms like AppEngine, this will always return ``False`` to
let the platform handle connection recycling transparently for us.
sockFTg        )timeout)getattrr   r   )connr
   s   & j/home/wkmabra/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_vendor/urllib3/util/connection.pyis_connection_droppedr      sH     4'Du}|T3//$ s   * 99c                   V w  rEVP                  R4      '       d   VP                  R4      pRp\        4       p VP                  R4       \        P                  ! YET\        P                  4       F  pTw  rrpRp \        P                  ! YT4      p\        Y4       T\        P                  Jd   TP                  T4       T'       d   TP                  T4       TP                  T4       Tu # 	  Te   Th\        P                   ! R4      h  \         d+    \
        P                  ! \        RT,          4      R4      u # i ; i  \        P                    d,   pTpTe   TP#                  4        Rp Rp?EK   Rp?EK  Rp?ii ; i)aG  Connect 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:`socket.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[]Nidnaz'%s', label empty or too longz!getaddrinfo returns an empty list)
startswithstripallowed_gai_familyencodeUnicodeErrorr   
raise_fromr   socketgetaddrinfoSOCK_STREAM_set_socket_options_GLOBAL_DEFAULT_TIMEOUT
settimeoutbindconnecterrorclose)addressr   source_addresssocket_optionshostporterrfamilyresafsocktypeproto	canonnamesar
   es   &&&&            r   create_connectionr1   %   sU   $ JDszz$
C
  !F
F !!$ff6H6HI-0*e	==u5D  5f<<<(		.)LLK J, 	
,,:
;;=  
~~?$FG
 	

* || 	C

  	s0   D =AE#E2EEFFFc                 D    Vf   R # V F  pV P                   ! V!   K  	  R # )N)
setsockopt)r
   optionsopts   && r   r   r   d   s          c                 ^    \         P                  p \        '       d   \         P                  p V # )zThis 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.)r   AF_INETHAS_IPV6	AF_UNSPEC)r)   s    r   r   r   l   s"    
 ^^Fx!!Mr6   c                :   RpRp\         P                  ! 4       '       d   R# \        P                  '       d;    \        P                  ! \        P                  4      pVP                  V ^ 34       RpV'       d   VP                  4        V#   \         d     L'i ; i)z4Returns True if the system can bind an IPv6 address.NFT)r   is_appengine_sandboxr   has_ipv6AF_INET6r   	Exceptionr"   )r&   r
   r=   s   &  r   	_has_ipv6r@   w   s|    DH ..00	==1DIItQi H 

O  		s   9B BBz::1)
__future__r   r   contribr   
exceptionsr   packagesr   waitr   r   r   r   r1   r   r   r@   r9    r6   r   <module>rG      sN    &  ( +  :8 **	<<~< Ur6   