httpolyglot
httpolyglot copied to clipboard
Serve http and https connections over the same port with node.js
I'm trying to use httpolyglot and also listen to subsequent client errors using `server.on('clientError', ...)`. The listener for this event is passed the error, with the raw packet data from...
add typescript and http/2 and server push support https://github.com/masx200/http-https-spdy-http2-polyglot https://github.com/masx200/http-https-spdy-http2-polyglot/blob/master/lib/index.js https://github.com/masx200/http-https-spdy-http2-polyglot/blob/master/lib/declaration.ts Abandon the support for the old version of nodejs, and simplify the code implementation, remove the hack code.
I'm trying to detect clients rejecting my HTTPS certificate, using httpolyglot. With the current httpolyglot server, if a client cleanly closes a TLS connection after the server hello (i.e. when...
The common pattern in the implementation of Server (including the [http.Server](https://github.com/nodejs/node/blob/8a12368a2090440bfd798abf68e5009445a8dced/lib/_http_server.js#L231-L232) and [https.Server](https://github.com/nodejs/node/blob/8a12368a2090440bfd798abf68e5009445a8dced/lib/https.js#L12-L13) objects from the Node.js core) is the following (note that `this` is completely ignored): if (!(this instanceof...