SPDY: fix NullPointerException in SpdyFrameDecoder

This commit is contained in:
Jeff Pinner 2013-07-23 22:57:29 -07:00 committed by Norman Maurer
parent 8a673db92b
commit d5bf1a1187

View File

@ -153,8 +153,8 @@ public class SpdyFrameDecoder extends ByteToMessageDecoder {
Object frame = readControlFrame(buffer);
if (frame != null) {
state = State.READ_COMMON_HEADER;
}
out.add(frame);
}
return;
} catch (IllegalArgumentException e) {
state = State.FRAME_ERROR;