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:
parent
fc099292fd
commit
4e3a413047
@ -158,7 +158,7 @@ public class HttpServerUpgradeHandler extends HttpObjectAggregator {
|
||||
|
||||
@Override
|
||||
public boolean release(int decrement) {
|
||||
return upgradeRequest.release();
|
||||
return upgradeRequest.release(decrement);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user