##// END OF EJS Templates
selectors2: backport minimal fix of timeout handling from 2.0.1...
Yuya Nishihara -
r40832:d1bda397 stable
parent child Browse files
Show More
@@ -708,7 +708,7 b' else:'
708 708 if expires is not None:
709 709 current_time = monotonic()
710 710 if current_time > expires:
711 raise OSError(errno=errno.ETIMEDOUT)
711 raise OSError(errno.ETIMEDOUT, 'Connection timed out')
712 712 if recalc_timeout:
713 713 if "timeout" in kwargs:
714 714 kwargs["timeout"] = expires - current_time
General Comments 0
You need to be logged in to leave comments. Login now