You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2014/06/02 17:38:01 UTC
[jira] [Resolved] (HTTPCORE-365) HttpHost(hostname) should be able
to parse format hostname:port
[ https://issues.apache.org/jira/browse/HTTPCORE-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Oleg Kalnichevski resolved HTTPCORE-365.
----------------------------------------
Resolution: Fixed
Fix Version/s: (was: 4.4)
4.4-alpha1
I committed a different implementation of the proposed method
http://svn.apache.org/r1599242
Please review / re-test
Oleg
> HttpHost(hostname) should be able to parse format hostname:port
> ---------------------------------------------------------------
>
> Key: HTTPCORE-365
> URL: https://issues.apache.org/jira/browse/HTTPCORE-365
> Project: HttpComponents HttpCore
> Issue Type: New Feature
> Components: HttpCore
> Affects Versions: 4.3
> Environment: JDK6
> Reporter: Remis
> Priority: Minor
> Fix For: 4.4-alpha1
>
>
> When we write e.g.:
> HttpHost proxy = new HttpHost("my-proxy:8080");
> HttpHost interprets it as a hostname="my-proxy:8080" and port=-1. I believe it should be able to parse the exemplified "my-proxy:8080" correctly.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org