mirror of
https://github.com/jetty/jetty.project.git
synced 2025-02-24 16:35:03 +00:00
Introduced PlainOrSslConnectionFactory, to "sniff" the first bytes on a connection and upgrade to SSL (if the bytes are TLS bytes), or upgrade to a specific, configured, protocol. Added also the ability to fail the upgrade in case of a `http` request to a `https` port and write a minimal response to the client. Signed-off-by: Simone Bordet <simone.bordet@gmail.com>