- fix SKIPIF for PHP4
[m6w6/ext-http] / http_request_api.c
index e815169408f5570a652aa1435db52b32561f4170..9ccda2ca8e859ec83f668fc141b188097933dbf3 100644 (file)
@@ -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;