[
https://issues.apache.org/jira/browse/AXIS2-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17926890#comment-17926890
]
Robert Lazarski commented on AXIS2-5762:
----------------------------------------
We are about to release 2.0.0 with httpclient5 and that API no longer supports
getRemotePort().
I see it here in httpclient4 and its not deprecated but the latest httpclient5
source has nothing like it. I was trying to apply this patch but I couldn't
easily figure out how to get the remote port in httpclient 5.
https://www.javadoc.io/static/org.apache.httpcomponents/httpcore/4.4.6/org/apache/http/HttpInetConnection.html#getRemoteAddress()
> Add Transport Ports to MessageContext
> -------------------------------------
>
> Key: AXIS2-5762
> URL: https://issues.apache.org/jira/browse/AXIS2-5762
> Project: Axis2
> Issue Type: Improvement
> Components: kernel, transports
> Affects Versions: 1.7.1
> Reporter: Ciprian Florescu
> Priority: Major
> Attachments: addremoteandtransportaddresstomessagecontext.diff
>
>
> At the moment Axis2 is only recording the transport IP addresses in the
> kernel MessageContext.
> This patch is also recording the REMOTE_PORT and TRANSPORT_PORT in through
> the transport-http module.
> I have attached an unified diff of the change
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]