You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2019/12/25 14:21:00 UTC

[jira] [Created] (HTTPCORE-616) Make parsing IPv6 ready

Michael Osipov created HTTPCORE-616:
---------------------------------------

             Summary: Make parsing 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


Based on mailng 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-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org