Closed jrgleason closed 5 years ago
I am trying to use SPDY currently this code works...
this.express = express(); .... this.listener = this.express.listen(p, (err)=>{ if (err){ throw err; } return LOGGER.log("info", `listening on ${p}`); });
But when I try to convert to SPDY with no SSL like this...
const spdyOpts = { plain: true, ssl: false }; this.server = spdy.createServer(spdyOpts, this.express) .listen(p, (err)=>{ if (err){ LOGGER.log("error", err); return process.exit(1); } return LOGGER.log("info", `Server is listening on ${p}`); });
I Just get ERR_CONNECTION_RESET. What am I missing here?
n/m
const spdyOpts = { spdy:{ plain: true, ssl: false } };
I am trying to use SPDY currently this code works...
But when I try to convert to SPDY with no SSL like this...
I Just get ERR_CONNECTION_RESET. What am I missing here?