From e8bda3f5931ff2e0d12b9c2176d5e0b0d8afdc19 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 20 Sep 2009 09:00:32 +0000 Subject: [PATCH] 2009-09-20 Tatsuhiro Tsujikawa Removed Retry-After header support. Since the current architecture doesn't allow sleep for particular URI. * src/HttpSkipResponseCommand.cc --- ChangeLog | 6 ++++++ src/HttpSkipResponseCommand.cc | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 36c9c2e1..7dadc961 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-09-20 Tatsuhiro Tsujikawa + + Removed Retry-After header support. Since the current architecture + doesn't allow sleep for particular URI. + * src/HttpSkipResponseCommand.cc + 2009-09-19 Tatsuhiro Tsujikawa Updated the help message for --daemon option. diff --git a/src/HttpSkipResponseCommand.cc b/src/HttpSkipResponseCommand.cc index c85af39b..d22444a9 100644 --- a/src/HttpSkipResponseCommand.cc +++ b/src/HttpSkipResponseCommand.cc @@ -157,8 +157,6 @@ bool HttpSkipResponseCommand::processResponse() } _httpResponse->processRedirect(); return prepareForRetry(0); - } else if(_httpResponse->hasRetryAfter()) { - return prepareForRetry(_httpResponse->getRetryAfter()); } else if(_httpResponse->getResponseStatus() >= HttpHeader::S400) { if(_httpResponse->getResponseStatus() == HttpHeader::S401) { if(getOption()->getAsBool(PREF_HTTP_AUTH_CHALLENGE) &&