New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Metalink Plugin: Must not destroy the Transform Contp, only shutdown write on it while received WRITE_COMPLETE #1540
Conversation
@oknet Can you please add the appropriate Label andMilestone for this PR? ("Plugins" and "7.2.0" respectively). |
I think this would be good for @jablko to review. Also, Jack, I think you have to go through the MATT process again to link your account, I'm not able to assign this to you for review. |
@zwoop Could you create a new Label:Transform ? |
[approve ci] to test the new Github builds jobs configs. |
…write on it while received WRITE_COMPLETE The transform contp will be closed and destroied after TransformVC is closed. The transformation plugin receives EVENT_IMMEDIATE when transform contp close then the plugin could release 'TransformData' and call TSContDestroy().
clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/93/ |
RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/106/ |
AU check failed! https://ci.trafficserver.apache.org/job/autest-github/90/ |
FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1788/ |
Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1681/ |
Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/219/ |
clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/351/ |
The transform contp will be closed and destroied after TransformVC is closed. |
@jablko Can you review this please? And also, I think your MATT connection needs to be redone, since we got moved to gitbox for the internal ASF sync service). |
[approve ci] |
Should we merge this? We might have lost @jablko ?? :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm +1 on this, with the caveat that I have not tested it (I assume you did). Can @scw00 take a look as well ?
If this is a candidate for 7.x, please mark it as such (in the Projects tab). |
The Transform Contp is belongs to TransformVC chain and it will be closed by TransformVC. And then the plugin will be callback with EVENT_IMMEDIATE, the plugin will find the Transform Contp is closed by TSVConnClosedGet() and call TSContDestroy() to destroy it.