You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by os...@apache.org on 2018/07/05 13:27:38 UTC

[trafficserver] 01/01: cppapi: InterceptPlugin fix

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

oschaaf pushed a commit to branch oschaaf-hanging-cppapi-intercept
in repository https://gitbox.apache.org/repos/asf/trafficserver.git

commit 3a72f749ac01034d491543f9c4a25dd60929ffb5
Author: Otto van der Schaaf <os...@we-amp.com>
AuthorDate: Thu Jul 5 13:27:03 2018 +0000

    cppapi: InterceptPlugin fix
    
    This change unbreaks using cppapi ServerIntercepts
    
    (Ran into a hanging FastCGI plugin while trying address comments in
---
 lib/cppapi/InterceptPlugin.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cppapi/InterceptPlugin.cc b/lib/cppapi/InterceptPlugin.cc
index 008e6cb..9d13288 100644
--- a/lib/cppapi/InterceptPlugin.cc
+++ b/lib/cppapi/InterceptPlugin.cc
@@ -84,7 +84,7 @@ struct InterceptPlugin::State {
   TSAction timeout_action_ = nullptr;
   bool plugin_io_done_     = false;
 
-  State(TSCont cont, InterceptPlugin *plugin) : cont_(cont)
+  State(TSCont cont, InterceptPlugin *plugin) : cont_(cont), plugin_(plugin)
   {
     plugin_mutex_ = plugin->getMutex();
     http_parser_  = TSHttpParserCreate();