Add another safe-to-ignore socket error message for SslHandler

.. which covers the 'Software caused connection abort: recv failed' from Windows
This commit is contained in:
Trustin Lee 2013-04-24 17:05:55 +09:00
parent c37b53fdd1
commit 322449eedc

View File

@ -161,8 +161,7 @@ public class SslHandler
private static final Pattern IGNORABLE_CLASS_IN_STACK = Pattern.compile(
"^.*(?:Socket|Datagram|Sctp)Channel.*$");
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
"^.*(?:connection.*reset|connection.*closed|broken.*pipe).*$",
Pattern.CASE_INSENSITIVE);
"^.*(?:connection.*(?:reset|closed|abort)|broken.*pipe).*$", Pattern.CASE_INSENSITIVE);
private static final SSLException SSLENGINE_CLOSED = new SSLException("SSLEngine closed already");
private static final SSLException HANDSHAKE_TIMED_OUT = new SSLException("handshake timed out");