You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Walt Karas <wk...@verizonmedia.com.INVALID> on 2019/11/20 01:19:36 UTC

Possible leak in compress plugin

It looks like the compress plugin assumes that a transform continuation
will get triggered when the input VConn closes:

https://github.com/apache/trafficserver/blob/128507ae5a69ab0cbaa6d9707cfe2ad1d95cbed8/plugins/compress/compress.cc#L589

Is this correct?  If not, the continuation as well as the allocated "Data"
structure will get leaked it seems.  If the final trigger doesn't happen in
all error cases, then that seems like leaks would happen in those cases.