X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_request_api.c;h=9ccda2ca8e859ec83f668fc141b188097933dbf3;hp=e815169408f5570a652aa1435db52b32561f4170;hb=9f4226597c09ccdf74db2be0ef76d9e135e7c71c;hpb=1702173179522368e6939a630b0ab8912fa15d1f diff --git a/http_request_api.c b/http_request_api.c index e815169..9ccda2c 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -911,7 +911,7 @@ retry: case CURLE_RECV_ERROR: case CURLE_SSL_ENGINE_INITFAILED: case CURLE_LOGIN_DENIED: - if (request->_retry.delay) { + if (request->_retry.delay >= HTTP_DIFFSEC) { http_sleep(request->_retry.delay); } goto retry;