Nick, You should talk to Brian G. He had a bug last month in transform that looked a lot like this. See TS-2820.
https://issues.apache.org/jira/browse/TS-2820 Tuesday, June 17, 2014, 11:16:35 AM, you wrote: > There's a common idiom in /plugins/ and /examples/. > Where a plugin uses a TSTransform, the TSTransform is created in the > event handler for the headers, and destroyed in the transform > continuation itself using: > if (TSVConnClosedGet(contp)) { > // ..... cleanup the ctx if applicable > TSContDestroy(contp); > return 0; > }