Browse Source

Storing the proxy data

Eric Gressman 2 years ago
parent
commit
5380a98f97
1 changed files with 1 additions and 0 deletions
  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