mirror of
https://github.com/apache/httpcomponents-client.git
synced 2025-02-28 05:39:07 +00:00
HTTPCLIENT-1855: disabled caching of DIGEST auth scheme instances due to unreliability of nonce counter when the auth cache is shared by multiple sessions
This commit is contained in:
parent
2155361d3b
commit
9368c5f5c8
@ -316,8 +316,7 @@ public void addAuthResponse(
|
||||
|
||||
private boolean isCachable(final AuthScheme authScheme) {
|
||||
final String schemeName = authScheme.getName();
|
||||
return schemeName.equalsIgnoreCase(AuthSchemes.BASIC) ||
|
||||
schemeName.equalsIgnoreCase(AuthSchemes.DIGEST);
|
||||
return schemeName.equalsIgnoreCase(AuthSchemes.BASIC);
|
||||
}
|
||||
|
||||
private void updateCache(final HttpHost host, final AuthScheme authScheme, final HttpClientContext clientContext) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user