[
https://issues.apache.org/jira/browse/HTTPCORE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17325756#comment-17325756
]
ASF subversion and git services commented on HTTPCORE-616:
----------------------------------------------------------
Commit 041b4a7f2b6d7beecdce7ac7b1b304d017a3f8d1 in httpcomponents-core's branch
refs/heads/master from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=041b4a7 ]
HTTPCORE-616: Make parsing IPv6 ready
This adds support for bracketed IPv6 host parsing to the following:
* `org.apache.hc.core5.net.Host.create(String)`
* `org.apache.hc.core5.net.URIAuthority.create(String)`
* `org.apache.hc.core5.http.HttpHost.create(String)`
This commit does not address `InetAddressUtils: Parsing may fail when an
IPv6 scope id might be provided.`
> Make IPv6 ready
> ---------------
>
> Key: HTTPCORE-616
> URL: https://issues.apache.org/jira/browse/HTTPCORE-616
> Project: HttpComponents HttpCore
> Issue Type: Task
> Components: HttpCore
> Affects Versions: 5.0-beta10
> Reporter: Michael Osipov
> Assignee: Carter Kozak
> Priority: Major
> Labels: volunteers-wanted
> Fix For: Future
>
> Time Spent: 3h 50m
> Remaining Estimate: 0h
>
> Based on mailing list discussions, there are issues with the following
> classes need to be addressed:
>
> * {{org.apache.hc.core5.net.Host.create(String)}} +
> {{org.apache.hc.core5.net.URIAuthority.create(String)}} +
> {{org.apache.hc.core5.http.HttpHost.create(String)}}: Will fail on IPv6
> addresses when the port is extacted. One has to
> probe for brackets: {{[]}}. Note that those brackets likely need to be
> dropped when a socket
> is obtained, but readded when a string compound {{host:port}} is build.
> * {{org.apache.hc.core5.net.InetAddressUtils}}: Parsing may fail when an IPv6
> scope id might be provided.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]