Socket
Socket
Sign inDemoInstall

http2

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http2 - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

5

HISTORY.md
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 @@

6

lib/protocol/compressor.js

@@ -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++) {

2

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc