Add more safe-to-ignore exception messages for SslHandler
... which covers the 'Software caused connection abort: recv failed' from Windows and UDT channels
This commit is contained in:
parent
79301c650c
commit
e9c5f4fa9a
@ -184,10 +184,9 @@ public class SslHandler extends FrameDecoder
|
|||||||
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
||||||
|
|
||||||
private static final Pattern IGNORABLE_CLASS_IN_STACK = Pattern.compile(
|
private static final Pattern IGNORABLE_CLASS_IN_STACK = Pattern.compile(
|
||||||
"^.*(Socket|DatagramChannel|SctpChannel).*$");
|
"^.*(?:Socket|Datagram|Sctp|Udt)Channel.*$");
|
||||||
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
|
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
|
||||||
"^.*(?:connection.*reset|connection.*closed|broken.*pipe).*$",
|
"^.*(?:connection.*(?:reset|closed|abort|broken)|broken.*pipe).*$", Pattern.CASE_INSENSITIVE);
|
||||||
Pattern.CASE_INSENSITIVE);
|
|
||||||
|
|
||||||
private static SslBufferPool defaultBufferPool;
|
private static SslBufferPool defaultBufferPool;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user