diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-09-30 16:41:16 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-10-01 11:17:02 +0200 |
commit | fd46d30571eb240ec3aae792e7a56061ede50524 (patch) | |
tree | a22dd7c94bea0be6b97a92285669d75af156df80 /methods/http.h | |
parent | 85050e764482197aad5daeeafd95ff6bf680afcb (diff) |
handle complete responses to https range requests
Servers might respond with a complete file either because they don't
support Ranges at all or the If-Range condition isn't statisfied, so we
have to parse the headers curl gets ourself to seek or truncate the file
we have so far.
This also finially adds the testcase testing a bunch of partial
situations for both, http and https - which is now all green.
Closes: 617643, 667699
LP: 1157943
Diffstat (limited to 'methods/http.h')
-rw-r--r-- | methods/http.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/http.h b/methods/http.h index 112ce171d..02c04e8ae 100644 --- a/methods/http.h +++ b/methods/http.h @@ -126,6 +126,7 @@ class HttpMethod : public ServerMethod virtual bool Configuration(std::string Message); virtual ServerState * CreateServerState(URI uri); + virtual void RotateDNS(); protected: std::string AutoDetectProxyCmd; |