You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Netty HTTP/2 negotiation fails silently if ALPN/NPN in classpath, but jetty_alpn not in bootclasspath #30
If you properly have ALPN/NPN in your classpath, but lack jetty_alpn in your bootclasspath, then we just hang after sending a SETTINGS frame. ALPN never happens, but "unsupported" isn't even called because that is normally called by jetty_alpn.
This makes it hard for users to determine what is wrong with their setup.
The only idea I have for a fix is to set a boolean when our ClientProvider is called and detect if it isn't set.
sun.security.ssl.(ALPNExtension|NextProtoNegoExtension).getClassLoader == null - assumes bootstrap classloader is implied by null, so might be fragile. Also this requires us to load the class.
Another way could be to look into the netty side to determine if SslHandshakeCompletionEvent (or similar) could be augmented with metadata such as the negotiated ALPN protocol string.
Activity
codefromthecrypt commentedon Jan 23, 2015
A couple ways we could tackle this.
sun.security.ssl.(ALPNExtension|NextProtoNegoExtension).getClassLoader == null- assumes bootstrap classloader is implied by null, so might be fragile. Also this requires us to load the class.Another way could be to look into the netty side to determine if
SslHandshakeCompletionEvent(or similar) could be augmented with metadata such as the negotiated ALPN protocol string.ejona86 commentedon May 29, 2015
This was resolved by #180