This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/9.1.x by this push:
new d7b25b5 Add tscontdestroy when transaction is closed and pacing rate
is reset (#7572)
d7b25b5 is described below
commit d7b25b5363beb372d25e4921926fbd50adac0afd
Author: Evan Zelkowitz <[email protected]>
AuthorDate: Tue Mar 2 09:56:07 2021 -0700
Add tscontdestroy when transaction is closed and pacing rate is reset
(#7572)
(cherry picked from commit 7e0a85e3bdd716e91a6f28748a8e93350a7389b1)
---
plugins/experimental/fq_pacing/fq_pacing.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/experimental/fq_pacing/fq_pacing.c
b/plugins/experimental/fq_pacing/fq_pacing.c
index b38a433..ecbe8c7 100644
--- a/plugins/experimental/fq_pacing/fq_pacing.c
+++ b/plugins/experimental/fq_pacing/fq_pacing.c
@@ -196,6 +196,7 @@ reset_pacing_cont(TSCont contp, TSEvent event, void *edata)
#endif
TSfree(txn_data);
+ TSContDestroy(contp);
TSHttpTxnReenable(txnp, TS_EVENT_HTTP_CONTINUE);
return 0;
}