Jetty version(s)
12.1.x
HTTP version
HTTP/1.1
Description
HttpConnection.HttpStreamOverHTTP1.headerComplete() tries to detect whether a request is secure via instanceof SslEndPoint.
However, this does not work when HAProxy offloads TLS and then sends PROXY-V2 information to the backend.
The correct way is more likely endPoint.getSslSessionData() != null.