You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by am...@apache.org on 2017/11/17 14:34:25 UTC

[trafficserver] branch master updated: header_rewrite: Allow set-debug in READ_RESPONSE_HDR_HOOK.

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

amc 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 7a242d2  header_rewrite: Allow set-debug in READ_RESPONSE_HDR_HOOK.
7a242d2 is described below

commit 7a242d2070b05f3658e8ce3611a3f17d98a161b5
Author: Alan M. Carroll <am...@apache.org>
AuthorDate: Tue Nov 14 16:20:16 2017 -0600

    header_rewrite: Allow set-debug in READ_RESPONSE_HDR_HOOK.
---
 plugins/header_rewrite/operators.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/plugins/header_rewrite/operators.cc b/plugins/header_rewrite/operators.cc
index dbda2a4..160c652 100644
--- a/plugins/header_rewrite/operators.cc
+++ b/plugins/header_rewrite/operators.cc
@@ -926,6 +926,7 @@ void
 OperatorSetDebug::initialize_hooks()
 {
   add_allowed_hook(TS_HTTP_READ_REQUEST_HDR_HOOK);
+  add_allowed_hook(TS_HTTP_READ_RESPONSE_HDR_HOOK);
   add_allowed_hook(TS_REMAP_PSEUDO_HOOK);
 }
 

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