More tolerance in error message matching
This commit is contained in:
parent
fb8e337293
commit
4bab7516d5
@ -46,7 +46,7 @@ import org.jboss.netty.channel.ChannelFuture;
|
||||
class OioWorker implements Runnable {
|
||||
|
||||
private static final Pattern SOCKET_CLOSED_MESSAGE = Pattern.compile(
|
||||
"^.*(?:Socket\\s*closed).*$", Pattern.CASE_INSENSITIVE);
|
||||
"^.*(?:Socket.*closed).*$", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private final OioSocketChannel channel;
|
||||
|
||||
|
@ -110,7 +110,7 @@ public class SslHandler extends FrameDecoder {
|
||||
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
|
||||
|
||||
private static final Pattern IGNORABLE_ERROR_MESSAGE = Pattern.compile(
|
||||
"^.*(?:Connection\\s*reset|Broken\\s*pipe).*$",
|
||||
"^.*(?:Connection.*reset|Broken.*pipe).*$",
|
||||
Pattern.CASE_INSENSITIVE);
|
||||
|
||||
private static SslBufferPool defaultBufferPool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user