node-restify
node-restify copied to clipboard
Update example to allow downgrading to http1
Issues
When following the example, many connections don't work. e.g. curl returned:
Unknown ALPN Protocol, expected
h2to be available. If this is a HTTP request: The server was not configured with theallowHTTP1option or a listener for theunknownProtocolevent.
What does this PR do?
Allows automatic downgrade to http1. Node's http2 module allows https or http2 with the same code.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.