You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by so...@apache.org on 2017/10/06 15:17:59 UTC

[trafficserver] branch 6.2.x updated (6e62d0f -> b98dddf)

This is an automated email from the ASF dual-hosted git repository.

sorber pushed a change to branch 6.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git.


    from 6e62d0f  Fix possibility of NULL assignment to std::string
     new 599b7c4  Fix mem leak related to do_os_response() function
     new b98dddf  Fix FreeBSD Build.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 cmd/traffic_manager/MgmtHandlers.cc  | 2 +-
 plugins/experimental/ts_lua/ts_lua.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].

[trafficserver] 01/02: Fix mem leak related to do_os_response() function

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 599b7c41aaef85a3a417763f107f9d9e053247ad
Author: Kit Chan <ki...@apache.org>
AuthorDate: Thu Oct 5 00:20:16 2017 -0700

    Fix mem leak related to do_os_response() function
    
    (cherry picked from commit 66d5caf6a8569f536bc798105a63fe0a7b67a6ee)
---
 plugins/experimental/ts_lua/ts_lua.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/plugins/experimental/ts_lua/ts_lua.c b/plugins/experimental/ts_lua/ts_lua.c
index 7c1b6f3..2c07463 100644
--- a/plugins/experimental/ts_lua/ts_lua.c
+++ b/plugins/experimental/ts_lua/ts_lua.c
@@ -159,6 +159,8 @@ TSRemapDoRemap(void *ih, TSHttpTxn rh, TSRemapRequestInfo *rri)
 
   lua_getglobal(L, TS_LUA_FUNCTION_REMAP);
   if (lua_type(L, -1) != LUA_TFUNCTION) {
+    lua_pop(L, 1);
+    ts_lua_destroy_http_ctx(http_ctx);
     TSMutexUnlock(main_ctx->mutexp);
     return TSREMAP_NO_REMAP;
   }

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.

[trafficserver] 02/02: Fix FreeBSD Build.

Posted by so...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sorber pushed a commit to branch 6.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit b98dddfa92657b42bdee6212b75262fd2290cd95
Author: Phil Sorber <so...@apache.org>
AuthorDate: Fri Oct 6 08:51:27 2017 -0600

    Fix FreeBSD Build.
---
 cmd/traffic_manager/MgmtHandlers.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/traffic_manager/MgmtHandlers.cc b/cmd/traffic_manager/MgmtHandlers.cc
index 891d02d..ef8172b 100644
--- a/cmd/traffic_manager/MgmtHandlers.cc
+++ b/cmd/traffic_manager/MgmtHandlers.cc
@@ -268,7 +268,7 @@ mgmt_synthetic_main(void *)
     } else {
       ink_thread thrId = ink_thread_create(synthetic_thread, (void *)&clientFD, 1);
 
-      if (thrId <= 0) {
+      if (!thrId) {
         mgmt_log(stderr, "[SyntheticHealthServer] Failed to create worker thread");
       }
     }

-- 
To stop receiving notification emails like this one, please contact
"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>.