mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-15 18:50:41 -07:00
Instead of replacing connection's host with value specified by this header, we will simply add the address to the logging only. So instead of having something like: ``` 192.168.1.1:5678 - wid:10 - Client connection created ``` we could have: ``` 1.2.3.4/192.168.1.1:5678 - wid:10 - Client connection created ``` As seen above, this PR simply prefixes the connection's remote address with the header's value (if a valid IP). Related to #2734 Resolves #2767 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
122 KiB
122 KiB