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

maskit 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 35a329d192 realip: Remove an unnecessary mutex (#12762)
35a329d192 is described below

commit 35a329d192ad7f0257674d1ce492753b63f97559
Author: Masakazu Kitajo <[email protected]>
AuthorDate: Mon Jan 5 09:56:34 2026 -0700

    realip: Remove an unnecessary mutex (#12762)
---
 plugins/experimental/realip/realip.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/experimental/realip/realip.cc 
b/plugins/experimental/realip/realip.cc
index c0cb60f22a..6977e13669 100644
--- a/plugins/experimental/realip/realip.cc
+++ b/plugins/experimental/realip/realip.cc
@@ -53,7 +53,7 @@ TSPluginInit(int argc, const char *argv[])
         return;
       }
       AddressSetter::set_source(source);
-      auto cont = TSContCreate(AddressSetter::event_handler, TSMutexCreate());
+      auto cont = TSContCreate(AddressSetter::event_handler, nullptr);
       TSReleaseAssert(cont);
       TSHttpHookAdd(TS_HTTP_READ_REQUEST_HDR_HOOK, cont);
     } catch (YAML::BadFile const &e) {

Reply via email to