commit | 41c2fcf4525a3b4e8960c4b71dfe4f4f11c8224f | [log] [tgz] |
---|---|---|
author | Darin Petkov <petkov@chromium.org> | Wed Aug 25 13:14:48 2010 -0700 |
committer | Darin Petkov <petkov@chromium.org> | Wed Aug 25 13:14:48 2010 -0700 |
tree | 5a8ceeb63a2a8b3417210d92a1c184c4c6ab1f4d | |
parent | 5c0a8afa879886800d82b195e3164e5a580a2cc7 [diff] [blame] |
AU: Support redirects. BUG=5692 TEST=unit tests, gmerged on device, making sure update engine still works Change-Id: If593f6efbd39452aa98b453f4d5489ce7d7d7fb9 Review URL: http://codereview.chromium.org/3161041
diff --git a/libcurl_http_fetcher.h b/libcurl_http_fetcher.h index a4ed52f..8908638 100644 --- a/libcurl_http_fetcher.h +++ b/libcurl_http_fetcher.h
@@ -20,6 +20,8 @@ class LibcurlHttpFetcher : public HttpFetcher { public: + static const int kMaxRedirects = 10; + LibcurlHttpFetcher() : curl_multi_handle_(NULL), curl_handle_(NULL),