commit | 68ccd602149ab17dbc451f4076282266eb66cbdc | [log] [tgz] |
---|---|---|
author | Simone Bordet <simone.bordet@gmail.com> | Fri May 22 10:04:11 2015 +0200 |
committer | Simone Bordet <simone.bordet@gmail.com> | Fri May 22 10:04:11 2015 +0200 |
tree | 25e2d29045111f4813c2e7f72a073f4469c75471 | |
parent | 3724e0ff39316593fd8439decde95892b4c849d7 [diff] |
#8 - ALPN API should allow throwing IOException or SSLException. See https://github.com/jetty-project/jetty-alpn/issues/8. Turns out that the OpenJDK SSL implementation does different things in SSLSocket versus SSLEngine when an exception is thrown: in the first case it wraps it into an SSLException, in the second it does not. By allowing the API to explicitly throw an SSLException, the behavior is now more consistent.