Broken pipe error is reported instead of Connection reset in HPUX

This commit is contained in:
Trustin Lee 2009-04-15 22:06:01 +00:00
parent d425ec761e
commit d8bc5f07f2

View File

@ -109,8 +109,9 @@ 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.*$", Pattern.CASE_INSENSITIVE);
private static final Pattern CONNECTION_RESET = Pattern.compile(
"^.*(Connection\\s*reset|Broken\\s*pipe).*$",
Pattern.CASE_INSENSITIVE);
private static SslBufferPool defaultBufferPool;