[ 
https://issues.apache.org/jira/browse/HTTPCORE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17326105#comment-17326105
 ] 

ASF subversion and git services commented on HTTPCORE-616:
----------------------------------------------------------

Commit 3e5b244ed3189aac0bb4d89ec9f08e03c1d4029b in httpcomponents-core's branch 
refs/heads/5.1.x from Carter Kozak
[ https://gitbox.apache.org/repos/asf?p=httpcomponents-core.git;h=3e5b244 ]

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: 4h 20m
>  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: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org

Reply via email to