##// END OF EJS Templates
url: don't ignore timeout for https connections...
url: don't ignore timeout for https connections For http, we use the stdlib's HTTPConnection.connect which passes the timeout down to socket.create_connection; for https, we override the connect method but weren't handling the timeout, so connections could hang for hours even with http.timeout set to low values.

File last commit:

r50538:e1c586b9 default
r51244:3bb7c56e stable
Show More
filters.pyi
6 lines | 215 B | text/x-python | PythonLexer
from typing import Any, Union
from . import Attribute, _FilterType
def include(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...
def exclude(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ...