Merge branch 'master' of github.com:netty/netty

This commit is contained in:
norman 2012-03-08 08:09:17 +01:00
commit 92a907c4d7

View File

@ -70,9 +70,12 @@ 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 {
Object frame = decode(ctx, channel, buffer);
return frame;
} finally {
headerBlockDecompressor.end();
}
}