SPDY: check if spdyHeadersFrame is null before adding it to out
This commit is contained in:
parent
3a4c7c9c93
commit
030d9fd227
@ -285,8 +285,9 @@ public class SpdyFrameDecoder extends ByteToMessageDecoder {
|
||||
spdyHeadersFrame = null;
|
||||
headerBlockDecoder.reset();
|
||||
state = State.READ_COMMON_HEADER;
|
||||
out.add(frame);
|
||||
return;
|
||||
if (frame != null) {
|
||||
out.add(frame);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user