Correctly handle UpgradeEvent.release(decrement).

Motivation:

We missed to pass the decrement value to the wrapped FullHttpRequest and so missed to decrement the reference count in the correct way.

Modifications:

Correctly pass the decrement value to the wrapped request.

Result:

UpgradeEvent.release(decrement) works as expected.
This commit is contained in:
Norman Maurer 2016-03-18 12:58:46 +01:00
parent fc099292fd
commit 4e3a413047

View File

@ -158,7 +158,7 @@ public class HttpServerUpgradeHandler extends HttpObjectAggregator {
@Override
public boolean release(int decrement) {
return upgradeRequest.release();
return upgradeRequest.release(decrement);
}
@Override