Skip to content

Commit

Permalink
Add other Ubuntu curl versions to known versions with HTTP/2 issues (#…
Browse files Browse the repository at this point in the history
…2913)

* Add other Ubuntu curl versions to known versions with HTTP/2 issues
  • Loading branch information
abraunegg authored Oct 20, 2024
1 parent 2e93c1f commit 77364c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 2 additions & 0 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ If you explicitly want to use HTTP/1.1, you can do so by using the `--force-http
| 7.74.0 |
| 7.81.0 |
| 7.88.1 |
| 8.2.1 |
| 8.5.0 |
| 8.10.0 |

> [!IMPORTANT]
Expand Down
12 changes: 7 additions & 5 deletions src/util.d
Original file line number Diff line number Diff line change
Expand Up @@ -1390,11 +1390,13 @@ string getCurlVersionNumeric() {
bool isBadCurlVersion(string curlVersion) {
// List of known curl versions with HTTP/2 issues
string[] supportedVersions = [
"7.68.0",
"7.74.0",
"7.81.0",
"7.88.1",
"8.10.0"
"7.68.0", // Ubuntu 20.x
"7.74.0", // Debian 11
"7.81.0", // Ubuntu 22.x
"7.88.1", // Debian 12
"8.2.1", // Ubuntu 23.10
"8.5.0", // Ubuntu 24.x
"8.10.0" // Various - HTTP/2 bug which was fixed in 8.10.1
];

// Check if the current version matches one of the supported versions
Expand Down

0 comments on commit 77364c3

Please sign in to comment.