jetty.project/jetty-io
Simone Bordet 2c75e876a3 Fixes #3787 - Jetty client throws EOFException instead of SSLHandshakeException on certificate errors.
Now exceptions thrown by fill() or flush() are stored in a field.
Further fill() operations will rethrow the original exception rather
than returning -1.

Returning -1 to application was causing them to close() with a generic
failure that was triggering the EOFException reported in this issue.

Now applications see the original exception and can close() with the
proper cause.

Re-enabled HostnameVerificationTest that was reproducing this issue
reliably but was @Disabled a while back and never re-enabled.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2019-09-26 18:30:43 +02:00
..
src Fixes #3787 - Jetty client throws EOFException instead of SSLHandshakeException on certificate errors. 2019-09-26 18:30:43 +02:00
pom.xml Updating to version 9.4.21-SNAPSHOT 2019-08-13 17:34:20 -05:00