Used non-capturing group

This commit is contained in:
Trustin Lee 2009-04-15 22:06:57 +00:00
parent d8bc5f07f2
commit 86a2c0c0ce

View File

@ -110,7 +110,7 @@ public class SslHandler extends FrameDecoder {
private static final ByteBuffer EMPTY_BUFFER = ByteBuffer.allocate(0);
private static final Pattern CONNECTION_RESET = Pattern.compile(
"^.*(Connection\\s*reset|Broken\\s*pipe).*$",
"^.*(?:Connection\\s*reset|Broken\\s*pipe).*$",
Pattern.CASE_INSENSITIVE);
private static SslBufferPool defaultBufferPool;