[
https://issues.apache.org/jira/browse/HTTPCORE-458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved HTTPCORE-458.
-----------------------------------
Resolution: Fixed
Fix Version/s: 5.0-alpha3
Setting to resolved with the understanding there might be more commits coming
to use the ports check API.
> Validate port values
> --------------------
>
> Key: HTTPCORE-458
> URL: https://issues.apache.org/jira/browse/HTTPCORE-458
> Project: HttpComponents HttpCore
> Issue Type: Improvement
> Affects Versions: 5.0-alpha2
> Reporter: Gary Gregory
> Assignee: Gary Gregory
> Fix For: 5.0-alpha3
>
>
> Validate port values according to https://tools.ietf.org/html/rfc6335 are:
> - MIN_VALUE is 0
> - MAX_VALUE is 65535
> Furthermore HttpCore uses -1 to signify use of a scheme's default port number.
> Affected classes:
> - org.apache.hc.core5.http.HttpHost
> - org.apache.hc.core5.net.URIAuthority
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]