You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/07/17 20:04:12 UTC

[Bug 63570] New: NioEndpoint.populateLocalAddr() populates remote address

https://bz.apache.org/bugzilla/show_bug.cgi?id=63570

            Bug ID: 63570
           Summary: NioEndpoint.populateLocalAddr() populates remote
                    address
           Product: Tomcat 9
           Version: 9.0.22
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Util
          Assignee: dev@tomcat.apache.org
          Reporter: akadakia@salesforce.com
  Target Milestone: -----

package org.apache.tomcat.util.net
class NioEndpoint
commit 65fb1ee548111021edde247f3b3c409ec95a5183
https://github.com/apache/tomcat/commit/65fb1ee548111021edde247f3b3c409ec95a5183#diff-0d8883b1aa000d427e4af3fa79f61483

Steps to reproduce:
The behavior-change/regression is evident by looking at diff above. Still if
steps are required, let me know. Also, make sure that local and remote address
are different while trying to reproduce E.g. Running as localhost, local and
remote addresses may be same which would mask the problem.

Actual Results:
Now NioEndpoint.populateLocalAddr populates the remote address. Thus, APIs to
return server's local address for e.g. RequestFacade.getLocalAddress will
return the remote address.

Expected Results:
NioEndpoint.populateLocalAddr populates the local address.

Build Date & Hardware:
First encountered the bug on 7/15/19, Intel Xeon, Ubuntu 16.04 LTS, Tomcat
9.0.22.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63570] NioEndpoint.populateLocalAddr() populates remote address

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63570

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
Sorry for the trouble, the fix will be in Tomcat 9.0.23.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63570] NioEndpoint.populateLocalAddr() populates remote address

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63570

--- Comment #2 from Aditya K <ak...@salesforce.com> ---
(In reply to Remy Maucherat from comment #1)
> Sorry for the trouble, the fix will be in Tomcat 9.0.23.

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org