bug fix in retry code
This commit is contained in:
1 parent
3ab65587df
commit
c002028727
2 files changed
+5
-1
No files matched your search
@@ -16,6 +16,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Bookmarks are now added to the top of the list
|
||||
- The search screen keyboard to make it easier to clear the search field
|
||||
|
||||
### Fixed
|
||||
|
||||
- A bug with request retry mechanism introduced in 0.19.0
|
||||
|
||||
## [0.19.0] - 2024-01-10
|
||||
|
||||
### Added
|
||||
|
||||
@@ -129,7 +129,7 @@ namespace Invidious
|
||||
' Retrying should usually fix the issue.
|
||||
if response.StatusCode() = HttpClient.CurlErrors.CURLE_UNSUPPORTED_PROTOCOL
|
||||
errorMessage = response.ErrorMessage()
|
||||
if errorMessage.Contains("HTTP/0.9")
|
||||
if errorMessage.InStr("HTTP/0.9") <> -1
|
||||
return true
|
||||
end if
|
||||
end if
|
||||
|
||||
Reference in new issue
Block a user