[
https://issues.apache.org/jira/browse/TS-4163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15135135#comment-15135135
]
Rajendra Kishore Bonumahanti edited comment on TS-4163 at 2/5/16 10:18 PM:
---------------------------------------------------------------------------
Kit, I tested TS_LUA_REQUEST_TRANSFORM hook with POST (chunked-encoded) request
as suggested in Jira ticket TS-2825. This has executed the hook call back
function successfully. And I have not observed any core dump. I have tried ~10
times. I did not observe the issue reported in the Jira ticket.
This means that the table I have put in the document needs to be
corrected/updated for TS_LUA_REQUEST_TRANSFORM. Please suggest me if I need to
resubmit the pull request or you can update and merge.
+ | TS_HTTP_REQUEST_TRANSFORM_HOOK | TS_LUA_REQUEST_TRANSFORM |
YES | YES |
was (Author: rkishore):
Kit, I tested TS_LUA_REQUEST_TRANSFORM hook with POST (chunked-encoded) request
as suggested in Jira ticket TS-2825. This has executed the hook call back
function successfully. And I have not observed any core dump. I have tried ~10
times. I did not observe the issue reported in the Jira ticket.
This means that the table I have put in the document needs to be
corrected/updated for TS_LUA_REQUEST_TRANSFORM. Please suggest me if I need to
resubmit the pull request or you can update and merge.
> 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)