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 |
|
|
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