This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 424bee2 fix memory leak issue with lua plugin
424bee2 is described below
commit 424bee29f28ac5313484a54e5f6c2d738a56765a
Author: Kit Chan <[email protected]>
AuthorDate: Sat Jun 3 08:53:40 2017 -0700
fix memory leak issue with lua plugin
---
plugins/experimental/ts_lua/ts_lua_http_intercept.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/plugins/experimental/ts_lua/ts_lua_http_intercept.c
b/plugins/experimental/ts_lua/ts_lua_http_intercept.c
index 4d07985..048f52d 100644
--- a/plugins/experimental/ts_lua/ts_lua_http_intercept.c
+++ b/plugins/experimental/ts_lua/ts_lua_http_intercept.c
@@ -291,6 +291,7 @@ ts_lua_http_intercept_process_read(TSEvent event,
ts_lua_http_intercept_ctx *ict
switch (event) {
case TS_EVENT_VCONN_READ_READY:
TSVConnShutdown(ictx->net_vc, 1, 0);
+ ictx->recv_complete = 1;
break; // READ_READY_READY is not equal to EOS break statement is probably
missing?
case TS_EVENT_VCONN_READ_COMPLETE:
case TS_EVENT_VCONN_EOS:
--
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].