Added more exception message pattern to detect the exception related with the closed connection in SslHandler
This commit is contained in:
parent
7739f02423
commit
d4071e87ef
@ -111,7 +111,7 @@ public class SslHandler extends FrameDecoder implements ChannelDownstreamHandler
|
|||||||
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
||||||
|
|
||||||
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
|
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
|
||||||
"^.*(?:Connection.*reset|Broken.*pipe).*$",
|
"^.*(?:connection.*reset|connection.*closed|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