3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-22 00:39:31 +01:00

Merge pull request #94 from dtolnay/httpmultiplexing

Work around spurious network errors in curl 8.0
This commit is contained in:
David Tolnay 2023-09-07 13:24:41 -07:00 committed by GitHub
commit 5cb429dd81
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,5 +111,13 @@ runs:
fi
shell: bash
- run: |
: work around spurious network errors in curl 8.0
# https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/timeout.20investigation
if rustc +${{steps.parse.outputs.toolchain}} --version --verbose | grep -q '^release: 1\.7[01]\.'; then
echo CARGO_HTTP_MULTIPLEXING=false >> $GITHUB_ENV
fi
shell: bash
- run: rustc +${{steps.parse.outputs.toolchain}} --version --verbose
shell: bash