Merge pull request #224 from jpinner/spdy_inflater_fix

Spdy inflater fix
This commit is contained in:
Norman Maurer 2012-03-07 12:03:45 -08:00
commit 64273b18f6

View File

@ -70,9 +70,11 @@ public class SpdyFrameDecoder extends FrameDecoder {
protected Object decodeLast( protected Object decodeLast(
ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer) ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
throws Exception { throws Exception {
Object frame = decode(ctx, channel, buffer); try {
headerBlockDecompressor.end(); return decode(ctx, channel, buffer);
return frame; } finally {
headerBlockDecompressor.end();
}
} }