Wrong field used; config parameter can be null which would cause NPE here
git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1493755 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0533ce7c53
commit
3956b9f30f
|
@ -139,7 +139,7 @@ public class CachingExec implements ClientExecChain {
|
|||
this.requestCompliance = new RequestProtocolCompliance();
|
||||
this.responseCachingPolicy = new ResponseCachingPolicy(
|
||||
this.cacheConfig.getMaxObjectSize(), this.cacheConfig.isSharedCache(),
|
||||
this.cacheConfig.isNeverCacheHTTP10ResponsesWithQuery(), config.is303CachingEnabled());
|
||||
this.cacheConfig.isNeverCacheHTTP10ResponsesWithQuery(), this.cacheConfig.is303CachingEnabled());
|
||||
this.asynchRevalidator = asynchRevalidator;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue