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: akada...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to