Searched refs:retry_args (Results 1 – 2 of 2) sorted by relevance
/external/python/apitools/apitools/base/py/ |
D | http_wrapper.py | 252 def HandleExceptionsAndRebuildHttpConnections(retry_args): argument 265 if isinstance(retry_args.exc, (http_client.BadStatusLine, 269 type(retry_args.exc).__name__, retry_args.exc) 270 elif isinstance(retry_args.exc, socket.error): 271 logging.debug('Caught socket error, retrying: %s', retry_args.exc) 272 elif isinstance(retry_args.exc, socket.gaierror): 274 'Caught socket address error, retrying: %s', retry_args.exc) 275 elif isinstance(retry_args.exc, socket.timeout): 277 'Caught socket timeout error, retrying: %s', retry_args.exc) 278 elif isinstance(retry_args.exc, httplib2.ServerNotFoundError): [all …]
|
D | http_wrapper_test.py | 72 retry_args = http_wrapper.ExceptionRetryArgs( 81 retry_args) 87 retry_args = http_wrapper.ExceptionRetryArgs( 97 retry_args) 101 retry_args = http_wrapper.ExceptionRetryArgs( 111 retry_args) 130 retry_args = http_wrapper.ExceptionRetryArgs( 139 retry_args)
|