Hsnmohd opened a new pull request, #958:
URL: https://github.com/apache/httpcomponents-client/pull/958

   CachingExec and AsyncCachingExec match Vary against the request they hold, 
which never carries the Cookie (or Authorization) header ProtocolExec adds from 
the context, so a `Cache-Control: max-age=60` + `Vary: Cookie` page fetched 
with one session is stored as the cookie-less variant and served to every other 
context (reproduced: bob's context got alice's page on the classic client, an 
anonymous one got bob's on async); the response is now not stored when the 
Vary-nominated headers actually sent (context.getRequest()) differ from those 
the cache saw, and the async exec passes a copy down the chain like the classic 
one.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to