Explorar el Código

Merge pull request #1038 from nicolov/patch-1

Retry on HTTP 502
Tatsuhiro Tsujikawa hace 8 años
padre
commit
aafa368885
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/HttpSkipResponseCommand.cc

+ 1 - 0
src/HttpSkipResponseCommand.cc

@@ -220,6 +220,7 @@ bool HttpSkipResponseCommand::processResponse()
       }
       throw DL_RETRY_EX2(MSG_RESOURCE_NOT_FOUND,
                          error_code::RESOURCE_NOT_FOUND);
+    case 502:
     case 503:
       // Only retry if pretry-wait > 0. Hammering 'busy' server is not
       // a good idea.