diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-09-20 09:00:32 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-09-20 09:00:32 +0000 |
| commit | e8bda3f5931ff2e0d12b9c2176d5e0b0d8afdc19 (patch) | |
| tree | bbee4c82b614c51b67ac88c59c1f653ef0961c76 | |
| parent | 45090adb071d0b00adf6e5dc3a0822d74a49ff97 (diff) | |
2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed Retry-After header support. Since the current architecture
doesn't allow sleep for particular URI.
* src/HttpSkipResponseCommand.cc
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | src/HttpSkipResponseCommand.cc | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,9 @@ +2009-09-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> + + Removed Retry-After header support. Since the current architecture + doesn't allow sleep for particular URI. + * src/HttpSkipResponseCommand.cc + 2009-09-19 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 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) && |
