Commit Graph

2842 Commits

Author SHA1 Message Date
Oleg Kalnichevski f16ac3ec3b Better method name (no functional changes) 2018-01-07 13:59:28 +01:00
Oleg Kalnichevski 7cf4240b3f Redesigned cache entry re-validation logic; added classic and async implementations of cache re-validators 2018-01-07 12:48:59 +01:00
Oleg Kalnichevski 79b76030fd Replaced FailureCache by generic ConcurrentCountMap 2018-01-05 15:09:05 +01:00
Oleg Kalnichevski 0561bacc66 Decoupled SchedulingStrategy and its implementations from HTTP cache specific logic 2018-01-05 12:29:14 +01:00
Oleg Kalnichevski 1c73280983 Support for execution forks (concurrent request execution) by request execution interceptors 2018-01-04 11:21:01 +01:00
Oleg Kalnichevski 26bb4b6b9c Renamed ExecRuntimeImpl to InternalExecRuntime (no functional changes) 2018-01-04 10:37:00 +01:00
Oleg Kalnichevski 47a0eb8b65 HTTPCLIENT-1893: Moved HttpContext state logic out of DefaultRedirectStrategy to the redirect execution interceptors; redesigned RedirectLocations class; refactored classic redirect execution interceptor unit tests 2018-01-03 19:37:19 +01:00
Oleg Kalnichevski 71060c7ee1 Improved flaky test case 2018-01-03 19:37:19 +01:00
Oleg Kalnichevski b45b72ef77 Added HTTP routing support class; simplified HttpRoutePlanner API 2018-01-03 19:37:12 +01:00
Oleg Kalnichevski db4b6db79f Moved ByteArrayBuilder class (no functional changes) 2018-01-03 14:36:20 +01:00
Oleg Kalnichevski eb1cab46e6 HTTPCLIENT-1384: clean up of HttpCacheInvalidator and HttpAsyncCacheInvalidator APIs 2018-01-02 13:41:31 +01:00
Oleg Kalnichevski c78032d638 HTTPCLIENT-1395: added config parameter to skip an extra cache entry freshness check upon cache update in case of a cache miss 2018-01-01 18:31:43 +01:00
Oleg Kalnichevski 194e4f5289 Corrected handling of request with non-repeatable by caching request execution interceptors 2018-01-01 16:52:50 +01:00
Oleg Kalnichevski c607197fd0 Code cleanup in AsyncCachingExec: async code made more consistent with that of its classic counterpart and hopefully a bit more readable 2018-01-01 16:45:46 +01:00
Oleg Kalnichevski 77703a7eef HttCache and HttpAsyncCache implementation to treat ResourceIOExceptions as non-fatal and log ResourceIOExceptions as warnings 2017-12-30 12:31:46 +01:00
Oleg Kalnichevski 13acc440ed HTTPCLIENT-1805: added test case for request submission from a response callback 2017-12-29 11:21:27 +01:00
Oleg Kalnichevski 749b02ac03 HTTPCLIENT-1824: asynchronous HTTP cache executor to use asynchronous HTTP cache APIs; changed algorithm of the backend response freshness check (both classic and async cache implementations) 2017-12-27 11:53:09 +01:00
Oleg Kalnichevski b4768fc86b HTTPCLIENT-1824: asynchronous HTTP response cache 2017-12-27 11:53:03 +01:00
Oleg Kalnichevski 3f52d0bf90 HTTPCLIENT-1824: asynchronous HTTP cache invalidator 2017-12-26 18:12:18 +01:00
Oleg Kalnichevski 6200a17c0c Redesign of CacheKeyGenerator and HttpCacheInvalidator APIs 2017-12-26 18:09:08 +01:00
Oleg Kalnichevski 6459d6882c Added Date util methods for common operations 2017-12-26 17:18:20 +01:00
Oleg Kalnichevski 1e4e204162 Request execution futures to cancel dependent operations when cancelled by the caller 2017-12-23 11:21:55 +01:00
Oleg Kalnichevski e262842466 Added Cancellable convenience methods 2017-12-23 10:48:46 +01:00
Oleg Kalnichevski d6d3d364eb Clean up of CacheEntryUpdater (CacheEntryUpdater renamed to CacheUpdateHandler) 2017-12-22 15:12:44 +01:00
Oleg Kalnichevski 123a68d513 Clean up of BasicHttpCache and related test classes 2017-12-22 11:10:08 +01:00
Oleg Kalnichevski b2d063c6a8 Removed unused code 2017-12-21 14:49:25 +01:00
Oleg Kalnichevski 8d08c38d4f Bugfix: fixed incorrect behaviour of HttpCacheEntryMatcher, fixed incorrect mapping of cache entries returned by bulk retrieval methods 2017-12-21 14:49:25 +01:00
Oleg Kalnichevski 29666a1ad4 New APIs for cache entry bulk retrieval; bulk retrieval support by Memcached storage implementation 2017-12-20 11:46:57 +01:00
Oleg Kalnichevski 002f40f9d3 HTTPCLIENT-1824, HTTPCLIENT-1868: Asynchronous HTTP cache storage API; Memcached backend implementation of async HTTP cache storage 2017-12-20 11:24:52 +01:00
Oleg Kalnichevski ebcb55d641 Renamed HttpCacheUpdateCallback to HttpCacheCASOperation (CAS = Compare-And-Swap) 2017-12-20 10:27:37 +01:00
Oleg Kalnichevski 9581cbc7a0 Factored out request URI generation and normalization logic fron CacheKeyGenerator into HttpCacheSupport 2017-12-08 13:27:03 +01:00
Oleg Kalnichevski 043fe4dd90 Use StandardMethods 2017-12-07 19:59:33 +01:00
Oleg Kalnichevski b1659264f7 Clean up of test cases 2017-12-07 19:59:32 +01:00
Gary Gregory 9931a9ca94 Replace use of String.indexOf(String) for strings of length one with
indexOf(char)
2017-12-06 09:29:06 -07:00
Oleg Kalnichevski cca56bebe9 AuthScope cleanup 2017-12-05 15:16:05 +01:00
Oleg Kalnichevski 4a55a8cfbd HTTPCLIENT-1885: Content compression exec interceptor generates incorrect 'Accept-Encoding' header value 2017-11-28 10:22:56 +01:00
Oleg Kalnichevski 2b2dd593a3 HTTPCLIENT-1883: SystemDefaultCredentialsProvider to use https.proxy* system properties for origins with port 443 2017-11-26 17:09:59 +01:00
Oleg Kalnichevski 2584dbd311 HTTPCLIENT-1883: Added https.proxy* to the list of system properties taken into account by HttpClientBuilder and HttpAsyncClientBuilder 2017-11-26 16:37:29 +01:00
Oleg Kalnichevski e89bbbbb44 Changed test case failing in TravisCI due to what might be a local host name resolution problem 2017-11-25 10:52:23 +01:00
Oleg Kalnichevski 8f8efa9d6e CredSspScheme to require a valid SSLContext 2017-11-24 22:44:44 +01:00
Oleg Kalnichevski 0c6aaee0b6 Marked CREDSSP auth scheme experimental 2017-11-24 22:40:45 +01:00
Oleg Kalnichevski 701377e926 Eliminated DebugUtil class 2017-11-24 22:39:33 +01:00
Oleg Kalnichevski 450cb40afc Upgraded HttpClient version to 5.0-alpha4-SNAPSHOT 2017-11-24 09:38:15 +01:00
Oleg Kalnichevski ea22019220 HttpClient 5.0-alpha3 release 2017-11-19 12:54:30 +01:00
Oleg Kalnichevski 001211761a Updated release notes for HttpClient 5.0 alpha 3 release 2017-11-19 12:50:58 +01:00
Oleg Kalnichevski a98d37950d Updated repository details in DOAP 2017-11-19 12:50:58 +01:00
Karl Wright 42359353a2 HTTPCLIENT-1881: Allow truncated NTLM packets to work with this client. 2017-11-18 06:37:27 -05:00
Oleg Kalnichevski 235348eec6 Replaced socket and connect timeout request parameters with a single connection timeout request parameter. HTTP requests may be executed concurrently over a single HTTP/2 connection and no longer should overwrite connection socket timeout 2017-11-18 11:24:17 +01:00
Oleg Kalnichevski 47dfbfa221 Moved route local address configuration from RequestConfig to DefaultRoutePlanner 2017-11-17 18:23:53 +01:00
Oleg Kalnichevski f182b73e48 Added methods to passivate and activate managed connections. These methods are used to restore / store the original socket timeout value upon connection lease / release 2017-11-17 17:49:14 +01:00