1
0
Mirror von https://github.com/therootcompany/greenlock-express.js.git synchronisiert 2024-11-16 17:28:59 +00:00

try spdy instead of http2, fallback to https #25

Dieser Commit ist enthalten in:
AJ ONeal 2016-04-06 15:23:07 -06:00
Ursprung ad2e26a277
Commit 17674f2a32

Datei anzeigen

@ -169,7 +169,12 @@ function lexHelper(obj, app) {
}
function LEX(obj, app) {
var https = require('http2');
var https;
try {
https = require('spdy');
} catch(e) {
https = require('https');
}
var http = require('http');
function listen(plainPorts, tlsPorts, onListening) {