[ 
https://issues.apache.org/jira/browse/HTTPCLIENT-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated HTTPCLIENT-853:
-----------------------------------------

    Comment: was deleted

(was: Thanks for the fix Oleg

[java] 2009/05/28 19:58:23:398 CEST [DEBUG] RequestAddCookies - Cookie 
[version: 0][name: ASPSESSIONIDCSARBQBA][value: 
MAMPAMKCBDJJFKNAAPKPMDAA][domain: www.seoconsultants.com][path: /][expiry: 
null] match [www.holytraffic.com]

whereas it should be:

[java] 2009/05/28 19:57:46:667 CEST [DEBUG] RequestAddCookies - Cookie 
[version: 0][name: ASPSESSIONIDCSARBQBA][value: 
AAMPAMKCMBINHNEHPFEBFADA][domain: www.seoconsultants.com][path: /][expiry: 
null] match [www.4xindia.com]

i.e. the same as without using a proxy. 7295 is the port number used to access 
the proxy. The target domain www.seoconsultants.com is accessed through the 
regular HTTP port number 80, thus the cookie matching should also refer to port 
80 and not the proxy's port. )

> Wrong cookie matching port number reported when using a proxy
> -------------------------------------------------------------
>
>                 Key: HTTPCLIENT-853
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-853
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient, HttpCookie
>    Affects Versions: 4.0 Beta 1, 4.0 Beta 2
>         Environment: Proxy: tinyproxy 1.6.4
>            Reporter: Charles Fr Rey
>             Fix For: 4.0 Final
>
>
> Following the example given in 
> https://issues.apache.org/jira/browse/HTTPCLIENT-852 and the route 
> HttpRoute[{}->http://xyz.webfactional.com:7295->http://www.seoconsultants.com]:
> one of the new cookies is reported to be added as:
> [java] 2009/05/28 19:58:23:398 CEST [DEBUG] RequestAddCookies - Cookie 
> [version: 0][name: ASPSESSIONIDCSARBQBA][value: 
> MAMPAMKCBDJJFKNAAPKPMDAA][domain: www.seoconsultants.com][path: /][expiry: 
> null] match [www.seoconsultants.com:7295/]
> whereas it should be:
> [java] 2009/05/28 19:57:46:667 CEST [DEBUG] RequestAddCookies - Cookie 
> [version: 0][name: ASPSESSIONIDCSARBQBA][value: 
> AAMPAMKCMBINHNEHPFEBFADA][domain: www.seoconsultants.com][path: /][expiry: 
> null] match [www.seoconsultants.com:80/]
> i.e. the same as without using a proxy. 7295 is the port number used to 
> access the proxy. The target domain www.seoconsultants.com is accessed 
> through the regular HTTP port number 80, thus the cookie matching should also 
> refer to port 80 and not the proxy's port.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to