Skip to content

Commit

Permalink
Merge pull request #307 from chamil321/mem-leak
Browse files Browse the repository at this point in the history
Release remnant content in inbound HTTPCarbonMsg
  • Loading branch information
chamil321 authored Mar 10, 2019
2 parents d9955d3 + 19dc00b commit 759198c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public ChannelFuture handleIdleTimeoutConnectionClosure(ServerConnectorFuture se
}

private void cleanupSourceHandler(HttpCarbonMessage inboundRequestMsg) {
inboundRequestMsg.waitAndReleaseAllEntities();
sourceHandler.removeRequestEntry(inboundRequestMsg);
}
}

0 comments on commit 759198c

Please sign in to comment.