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(
ChannelHandlerContext ctx, Channel channel, ChannelBuffer buffer)
throws Exception {
Object frame = decode(ctx, channel, buffer);
headerBlockDecompressor.end();
return frame;
try {
return decode(ctx, channel, buffer);
} finally {
headerBlockDecompressor.end();
}
}