Commit 0a227666 authored by Costin Grigoras's avatar Costin Grigoras
Browse files

The default client port value is negative

parent d52904d9
...@@ -110,7 +110,7 @@ public class RequestEvent implements Closeable { ...@@ -110,7 +110,7 @@ public class RequestEvent implements Closeable {
if (clientAddress == null && identity.getRemoteEndpoint() != null) if (clientAddress == null && identity.getRemoteEndpoint() != null)
clientAddress = identity.getRemoteEndpoint(); clientAddress = identity.getRemoteEndpoint();
if (clientPort == 0) if (clientPort <= 0)
clientPort = identity.getRemotePort(); clientPort = identity.getRemotePort();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment