Explorar o código

Storing the proxy data

Eric Gressman %!s(int64=2) %!d(string=hai) anos
pai
achega
5380a98f97
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/impl/websocket.cpp

+ 1 - 0
src/impl/websocket.cpp

@@ -50,6 +50,7 @@ void WebSocket::open(const string &url) {
 
 	if (config.proxyServer) {
 		mIsProxied = true;
+		mProxy = config.proxyServer;
 	}
 
 	// Modified regex from RFC 3986, see https://www.rfc-editor.org/rfc/rfc3986.html#appendix-B