Merge pull request #2732 from thelounge/xpaw/no-spdy

Drop spdy module in favor of native https module
This commit is contained in:
Jérémie Astori 2018-08-29 19:35:24 -04:00 committed by GitHub
commit 40ec21a117
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 3 deletions

View File

@ -57,7 +57,6 @@
"request": "2.88.0", "request": "2.88.0",
"semver": "5.5.1", "semver": "5.5.1",
"socket.io": "2.1.1", "socket.io": "2.1.1",
"spdy": "3.4.7",
"thelounge-ldapjs-non-maintained-fork": "1.0.2", "thelounge-ldapjs-non-maintained-fork": "1.0.2",
"tlds": "1.203.1", "tlds": "1.203.1",
"ua-parser-js": "0.7.18", "ua-parser-js": "0.7.18",

View File

@ -108,7 +108,7 @@ module.exports = function() {
process.exit(); process.exit();
} }
server = require("spdy"); server = require("https");
server = server.createServer({ server = server.createServer({
key: fs.readFileSync(keyPath), key: fs.readFileSync(keyPath),
cert: fs.readFileSync(certPath), cert: fs.readFileSync(certPath),

View File

@ -6910,7 +6910,7 @@ spdy-transport@^2.0.18:
safe-buffer "^5.0.1" safe-buffer "^5.0.1"
wbuf "^1.7.2" wbuf "^1.7.2"
spdy@3.4.7, spdy@^3.4.1: spdy@^3.4.1:
version "3.4.7" version "3.4.7"
resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc" resolved "https://registry.yarnpkg.com/spdy/-/spdy-3.4.7.tgz#42ff41ece5cc0f99a3a6c28aabb73f5c3b03acbc"
dependencies: dependencies: