Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add default port 80 for Faye.NodeHttpTransport

  • Loading branch information...
commit 2b6dd14938044e96939adeb7512880a5f77f1c24 1 parent 46ffdff
@driverdan authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  javascript/network/node.js
View
2  javascript/network/node.js
@@ -2,7 +2,7 @@ Faye.NodeHttpTransport = Faye.Class(Faye.Transport, {
request: function(message, timeout) {
var uri = url.parse(this._endpoint),
secure = (uri.protocol === 'https:'),
- client = http.createClient(uri.port, uri.hostname, secure),
+ client = http.createClient(uri.port || 80, uri.hostname, secure),
content = JSON.stringify(message),
response = null,
retry = this.retry(message, timeout),
Please sign in to comment.
Something went wrong with that request. Please try again.