[
https://issues.apache.org/jira/browse/TS-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15132903#comment-15132903
]
ASF GitHub Bot commented on TS-4163:
------------------------------------
Github user brkishore commented on the pull request:
https://github.com/apache/trafficserver/pull/451#issuecomment-180024520
TS_LUA_REQUEST_TRANSFORM : We have tried just GET (and PURGE) method.
During the testing of this method, request transform hook call back function is
not executed. This is what we observed. We have not tested the POST method.
TS_LUA_HOOK_SELECT_ALT: If we register the hook in do_remap(), the callback
function does not get executed (no core dumps observed). However, if the global
hook method (do_global_select_alt()) is implemented, it gets core dump'ed as
mentioned the Jira (TS-4128) ticket.
> ts_lua plugin document has incorrect 'context' information for the hook point
> constants
> ---------------------------------------------------------------------------------------
>
> Key: TS-4163
> URL: https://issues.apache.org/jira/browse/TS-4163
> Project: Traffic Server
> Issue Type: Bug
> Components: Docs
> Reporter: Rajendra Kishore Bonumahanti
> Priority: Minor
> Fix For: Docs
>
>
> The section "Hook point constants" in ts_lua Plugin document provides the
> incorrect information on hook point constants being available to use
> ts.hook() function.
> Like TS_LUA_HOOK_PRE_REMAP or TS_LUA_HOOK_READ_REQUEST_HDR constants are not
> useful to register the hook point in do_remap(). However, they can be used in
> do_global_txn_start() or do_global_read_request() to register for the hook
> call back functions. So, the 'context' information is irrelevant for this
> section.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)