You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@rsafonseca
I checked the code in file acceptor/ws_acceptor.go. PROXY protocol support WsAcceptor not implemented
// PROXY protocol support not implemented for WS acceptorfunc (w*WSAcceptor) EnableProxyProtocol() {
}
and I found file acceptor/proxyprotowrapper.go, it's checkPrefix() only for TCP, because it read header just from tcp buf, but websocket read header must from http headers.
My client connect to connector node thought Nginx proxy,
I use s.RemoteAddr() . IP addr is Nginx server's IP.
I want to get Real client IP or get request headers["X-REAL-IP"]
how do I do ?
thanks
The text was updated successfully, but these errors were encountered: