summaryrefslogtreecommitdiff
path: root/test/storage/http_timeout.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Rationalize storage testsJohn Firebaugh2016-04-141-37/+0
| | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-1/+1
|
* [ios] make unit tests work on iOS and iOS SimulatorKonstantin Käfer2016-03-221-1/+1
|
* [core] Moving caching logic to DefaultFileSourceJohn Firebaugh2016-02-101-1/+1
| | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
* [core] Use better types for modified / expires / etagJohn Firebaugh2016-01-211-3/+3
|
* [core] Eliminate Response::stale and inline Response::isExpired()John Firebaugh2016-01-211-1/+0
| | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why.
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-231-2/+2
| | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change.
* [tests] Remove libuv dependency from the testsThiago Marcos P. Santos2015-12-011-4/+2
|
* [core] Replace time_t with std::chrono::secondsBruno de Oliveira Abinader2015-11-271-3/+3
| | | | | | | Added aliases for std::chrono typedefs (eg. 'Seconds' for std::chrono::seconds). These aliases are used together with templated helper functions to replace time_t with std::chrono::seconds for most cases, in particular for 'modified' and 'expires' values in Response.
* [core] Use std::unique_ptr for FileSource requestJohn Firebaugh2015-11-161-2/+2
|
* [core] Pass a value to response callback, not a referenceJohn Firebaugh2015-11-161-1/+1
|
* [core] Do not pass uv_loop_t aroundThiago Marcos P. Santos2015-11-161-1/+4
| | | | This should be abstracted by util::RunLoop
* [core] move retry logic to DefaultFileSourceKonstantin Käfer2015-11-021-2/+1
|
* [core] Make response data shared to avoid excessive copyingKonstantin Käfer2015-10-261-1/+2
|
* [core] set a timer and auto-refresh requests when they expireKonstantin Käfer2015-10-261-0/+37
When we get a request with an explicit expiration time, we're now starting a timer, and will trigger a refresh once the data expires. This gives requesters a chance to update their data.