Cowboy/ranch protocol that can serve plain text and secure requests from the same port to different handlers
rtATvw opened this issue · comments
Handle plain text requests and secure requests from the same port and route them to different handlers.
Useful for services where a port isn't defined as secure or plain text; could be either and handled differently during a transition.
Can also be used to provide a more descriptive error message than "Empty response" or redirect such as with Nginx's 497 status code.