U C^@snddlmZddlZddlmZmZddlmZddZej ddfd d Z d d Z d dZ ddZ e dZdS))absolute_importN)NoWayToWaitForSocketError wait_for_read)_appengine_environcCsNt|dd}|dkrdS|dkr$dSzt|ddWStk rHYdSXdS)a  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. sockFNTg)timeout)getattrrr)connrr s   8