Created by: trvsdnn
req.remotePort
returns the ephemeral port, which is not useful.
node v0.10.0 added req.localPort
which returns what we want, but
we want to maintain backwards compatibility. Fixes #341 (closed) & #227 (closed)
Created by: trvsdnn
req.remotePort
returns the ephemeral port, which is not useful.
node v0.10.0 added req.localPort
which returns what we want, but
we want to maintain backwards compatibility. Fixes #341 (closed) & #227 (closed)