diff options
author | sinanmohd <sinan@sinanmohd.com> | 2023-10-02 11:58:20 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2023-10-02 12:09:58 +0530 |
commit | c52ca29600ea5c73d7c0e5257c158c08005b0c8b (patch) | |
tree | 36e151d4e0b72ae239a1bc9a009ecf22785f0ec8 /tests.lua | |
parent | 218255867f80ec0e093a38f6b5254f1578f5a331 (diff) |
lib/curl: preserve nil value of hcode
hcode is nil because curl was't able to fulfill the http request, either
because curl package is broken or mpv killed it prematurely. we can exit
out of retry loop early if hcode is nil since there's no point in retrying
Diffstat (limited to 'tests.lua')
0 files changed, 0 insertions, 0 deletions