fix(fetch): network error on multiple redirects (#5985)

This commit is contained in:
Marcos Casagrande 2020-05-31 22:13:53 +02:00 committed by GitHub
parent ecb94c06e9
commit 08552fc6b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 7 deletions

View file

@ -363,7 +363,7 @@ def start(s):
def spawn():
servers = (server(), redirect_server(), another_redirect_server(),
double_redirects_server(), https_server(),
absolute_redirect_server())
absolute_redirect_server(), inf_redirects_server())
# In order to wait for each of the servers to be ready, we try connecting to
# them with a tcp socket.
for running_server in servers: