Comparing version 3.1.0 to 3.1.1
Version history | ||
=============== | ||
### 3.1.1 (2015-01-29) ### | ||
* Bugfix release. | ||
* Fixes an issue sending a push promise that is large enough to fill the frame (#93). | ||
### 3.1.0 (2014-12-11) ### | ||
@@ -5,0 +10,0 @@ |
@@ -1166,3 +1166,7 @@ // The implementation of the [HTTP/2 Header Compression][http2-compression] spec is separated from | ||
var chunks = cut(buffer, MAX_HTTP_PAYLOAD_SIZE); | ||
// This will result in CONTINUATIONs from a PUSH_PROMISE being 4 bytes shorter than they could | ||
// be, but that's not the end of the world, and it prevents us from going over MAX_HTTP_PAYLOAD_SIZE | ||
// on the initial PUSH_PROMISE frame. | ||
var adjustment = frame.type === 'PUSH_PROMISE' ? 4 : 0; | ||
var chunks = cut(buffer, MAX_HTTP_PAYLOAD_SIZE - adjustment); | ||
@@ -1169,0 +1173,0 @@ for (var i = 0; i < chunks.length; i++) { |
{ | ||
"name": "http2", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "An HTTP/2 client and server implementation", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
305619
7144