[
https://issues.apache.org/jira/browse/TS-3369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308830#comment-14308830
]
ASF subversion and git services commented on TS-3369:
-----------------------------------------------------
Commit 6c54ff851556beb5f1a7006d34748f8657252dad in trafficserver's branch
refs/heads/master from [~kichan]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=6c54ff8 ]
TS-3369: fix bug in header setting functions in lua plugin
> bug in header setting functions in lua plugin
> ---------------------------------------------
>
> Key: TS-3369
> URL: https://issues.apache.org/jira/browse/TS-3369
> Project: Traffic Server
> Issue Type: Bug
> Components: Lua, Plugins
> Reporter: Kit Chan
> Assignee: Kit Chan
> Fix For: 5.3.0
>
>
> Here is my sample lua script
> function send_response()
> ts.client_response.header['Vary'] = "x, y, z"
> ts.client_response.header['Vary'] = "xyz"
> end
> function do_remap()
> ts.hook(TS_LUA_HOOK_SEND_RESPONSE_HDR, send_response)
> return 0
> end
> The result is "xyz, y, z" instead of what I expected - "xyz"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)