Comparing version 0.4.3 to 0.4.4
# Change Log | ||
**0.4.4** | ||
- Fix a bug when `req.socket` was undefined. ([#33](https://github.com/rollbar/node_rollbar/pull/33)) | ||
**0.4.3** | ||
@@ -4,0 +7,0 @@ - Support HTTP proxies. ([#32](https://github.com/rollbar/node_rollbar/pull/32)) |
@@ -264,3 +264,3 @@ var http = require('http'); | ||
var host = headers.host || '<no host>'; | ||
var proto = req.protocol || req.socket ? (req.socket.encrypted ? 'https' : 'http') : 'http'; | ||
var proto = req.protocol || (req.socket && req.socket.encrypted) ? 'https' : 'http'; | ||
var reqUrl = proto + '://' + host + (req.url || ''); | ||
@@ -267,0 +267,0 @@ var parsedUrl = url.parse(reqUrl, true); |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.4.3", | ||
"version": "0.4.4", | ||
"repository": "git://github.com/rollbar/node_rollbar.git", | ||
@@ -16,0 +16,0 @@ "author": "Rollbar, Inc. <support@rollbar.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63913