Files
nats-server/server/websocket_test.go
Ivan Kozlovic dbfff14d3b [IMPROVED] Websocket: Add client IP in websocket upgrade failures
The error message would now look like this:
```
[8672] 2021/11/01 10:56:50.251985 [ERR] [::1]:59279 - websocket handshake error: invalid value for header 'Upgrade'
```

(without this change the part `[::1]:59279 - ` would not be present)

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2021-11-01 10:54:22 -06:00

118 KiB