Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

spdy

Package Overview
Dependencies
Maintainers
2
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spdy - npm Package Compare versions

Comparing version 2.0.0 to 2.0.2

4

package.json
{
"name": "spdy",
"version": "2.0.0",
"version": "2.0.2",
"description": "Implementation of the SPDY protocol on node.js.",

@@ -32,3 +32,3 @@ "license": "MIT",

"select-hose": "^2.0.0",
"spdy-transport": "^1.1.4"
"spdy-transport": "^1.1.5"
},

@@ -35,0 +35,0 @@ "devDependencies": {

@@ -5,4 +5,4 @@ var spdy = require('./');

var options = {
key: "-----BEGIN RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAwR9WNkAleV/CNFOZMRzWAcuq/BilL0KJdYbsdJXLbZ10pyJH\nw3J9TSlz/5mzrRArO7OrVl5XKFs6AXEIE4z7EN+MXzghFLO2+bu/HN/UtpD0dfiP\nX3OgqyAtLwiqwXnjis4jY0bzWKSc/4o17wFFKj+6Hvg/MKQBfrNmjHvKh1Zrr2ba\nA76z8ZrHIRiiD/ueT2eScRppF+WsJ402zSO+KMqWFgucQPTj4w52KKVw7KdxrH5T\nTlpMImqVFyUhZ9lahbckVdfLiwToUkxZa2GdRBOLkvn0yNaMfFWogWkDjPiFNkL+\n91FudT8x1augPCuoOotbDhdDiUzaNo/feRw+LQIDAQABAoIBABoXN7iAlg99xmj3\nWlzuPmNjtqf0VGy8GoIMRmnBywf2G8pwsS1QjGkeTpObmlCpPI4GSgGTIUdMe9ux\n/5tUkp7G9NnwZVe8p925Zapq+vvnPX+qowQMRQqZgEE4dIlLBFi+XL2O2lWBd8x2\nSa8Oht+cWHLSqwbRQXpylkood0YtRFw91w1pgz376pU/GdUIPon3akmdk9VIsRe7\nNDRY00ZfP7paf9Xv0tvqgdrK4rfgoKN4V1BVzEOzC2LnThcN3yPw7YJDh27FJh5K\ngsi9FOLd4Vy2NO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aW5k\ndXRueTALBgkqhkiG9w0BAQsDggEBAGYNi5CCq+/YmzH2Z7fgQ30oRdwvbn3MlM1F\nTrX33V+7Uu8bccABIrTXfOpWRMqREeygx4GvbffMvR1CnFGG5mxIEqaSSM9mBEBZ\nymlxiej6yCHAvPb3aG73Aa/bs55beOpXmRsMU3Ix9QhJzWOY6JDN0OBdSEuBBimE\n4jEnQOYczARbLKZJe7MenNo6dD7OKiwJGCFZBWFeCZBflqDm+HA5rUpG7EOi3Rr+\nGIABvRn+y0u4eVeEJBN4rWzNiMv44CD55PrbbNq9OQVIS3NmFScl4tQFDb0fgAdb\nR0ZtujqDjMY3uZZxtiu6CmBTUKhwF3tTn5sMV4Y6ZR9RgT/UEuQ=\n-----END CERTIFICATE-----",
ALPNProtocols: [ 'spdy/3.1' ],

@@ -13,7 +13,20 @@ NPNProtocols: [ 'spdy/3.1' ]

spdy.createServer(options, function(req, res) {
console.log(req.headers);
if (req.url === '/upload') {
req.resume();
console.log('upload');
var total = 0;
req.on('data', function(chunk) {
console.log(total += chunk.length);
});
req.on('end', function() {
console.log('upload done');
res.end('ok');
});
return;
}
res.writeHead(200, {
'set-cookie': 'koa:sess=eyJwaG9uZW51bWJlclVuYXV0aGVkIjpudWxsLCJfZXhwaXJlIjoxMTQzOTM0OTI5MTkxNSwiX21heEFnZSI6OTk5OTk5OTk5OTAwMH0=; koa:sess.sig=bALfJCqWqJY8LmXOotL2Mvmk_yU; jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwaG9uZW51bWJlciI6IjU1NTg2NzUzMDkiLCJpYXQiOjE0MzkzNDk0MjB9.bSvXG8Ig4TjmAgRIAlxFCvX7ndquI6rEDDEjOEe7G-c'.split('; ')
'Content-Type': 'text/html'
});
res.end();
res.end('<form method=POST enctype="multipart/form-data" action="upload"><input name=file type=file /><button/></form>');
}).listen(1443);
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