trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From osch...@apache.org
Subject [trafficserver] branch master updated: cppapi: InterceptPlugin fix
Date Thu, 05 Jul 2018 17:24:59 GMT
This is an automated email from the ASF dual-hosted git repository.

oschaaf 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 5a29260  cppapi: InterceptPlugin fix
5a29260 is described below

commit 5a29260030aa36ebcd87ec7867a9de66d0dd1f9d
Author: Otto van der Schaaf <oschaaf@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 d47e52a..71c1da8 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();


Mime
View raw message