SPDY: fix NullPointerException in SpdyFrameDecoder
This commit is contained in:
parent
8a673db92b
commit
d5bf1a1187
@ -153,8 +153,8 @@ public class SpdyFrameDecoder extends ByteToMessageDecoder {
|
|||||||
Object frame = readControlFrame(buffer);
|
Object frame = readControlFrame(buffer);
|
||||||
if (frame != null) {
|
if (frame != null) {
|
||||||
state = State.READ_COMMON_HEADER;
|
state = State.READ_COMMON_HEADER;
|
||||||
|
out.add(frame);
|
||||||
}
|
}
|
||||||
out.add(frame);
|
|
||||||
return;
|
return;
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
state = State.FRAME_ERROR;
|
state = State.FRAME_ERROR;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user