Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1120828003 | |||
| 59911312ac | |||
| 98298acb36 |
@@ -1,3 +1,8 @@
|
||||
### 0.8.1 / 2014-11-12
|
||||
|
||||
* Send the correct hostname when upgrading a connection to TLS
|
||||
|
||||
|
||||
### 0.8.0 / 2014-11-08
|
||||
|
||||
* Support connections via HTTP proxies
|
||||
|
||||
@@ -66,7 +66,7 @@ Client.prototype._configureProxy = function(proxy, originTLS) {
|
||||
|
||||
this._proxy.on('connect', function() {
|
||||
if (secure) {
|
||||
var options = {socket: self._stream};
|
||||
var options = {socket: self._stream, servername: uri.hostname};
|
||||
for (name in originTLS) options[name] = originTLS[name];
|
||||
self._stream = tls.connect(options);
|
||||
self._configureStream();
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
, "keywords" : ["websocket", "eventsource"]
|
||||
, "license" : "MIT"
|
||||
|
||||
, "version" : "0.8.0"
|
||||
, "version" : "0.8.1"
|
||||
, "engines" : {"node": ">=0.4.0"}
|
||||
, "main" : "./lib/faye/websocket"
|
||||
, "dependencies" : {"websocket-driver": ">=0.4.0"}
|
||||
|
||||
Reference in New Issue
Block a user