http2-wrapper
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-beta.4.1
{ | ||
"name": "http2-wrapper", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-beta.4.1", | ||
"description": "HTTP2 client, just with the familiar `https` API", | ||
@@ -5,0 +5,0 @@ "main": "source", |
@@ -168,3 +168,7 @@ 'use strict'; | ||
return servername ? `https://${servername}:${url.port || 443}` : url.origin; | ||
if (servername && url.hostname !== servername) { | ||
url.hostname = servername; | ||
} | ||
return url.origin; | ||
} | ||
@@ -171,0 +175,0 @@ |
@@ -261,3 +261,3 @@ 'use strict'; | ||
if (!response.push(chunk)) { | ||
this.pause(); | ||
stream.pause(); | ||
} | ||
@@ -264,0 +264,0 @@ }); |
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
47633
1068