hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <ol...@apache.org>
Subject Re: Async problem with GET
Date Mon, 31 Aug 2015 15:11:25 GMT
On Mon, 2015-08-31 at 14:18 +0100, Graeme Wallace wrote:
> > How could this possibly be something down in the guts of HC? Alien
> > conspiracy? Russian spies?
> >
> 
> I was thinking cosmic background radiation....
> 

Exactly! All because of Russians!

> 
> >
> > Have you tried resetting the session (by wiping out the cookies) instead
> > of restarting the app?
> >
> 
> 
> How would i do that for a specific host ?
> 
> 

You can do so by examining the effective domain attribute of cookies in
the cookie store and discard those that match the host. 

http://hc.apache.org/httpcomponents-client-4.5.x/tutorial/html/statemgmt.html#d5e499

Please note you need to be careful when matching host to domain
attribute of a cookie 

http://hc.apache.org/httpcomponents-client-4.5.x/httpclient/xref/org/apache/http/impl/cookie/RFC2965DomainAttributeHandler.html#172

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org


Mime
View raw message