[
https://issues.apache.org/jira/browse/TS-4592?focusedWorklogId=30517&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-30517
]
ASF GitHub Bot logged work on TS-4592:
--------------------------------------
Author: ASF GitHub Bot
Created on: 12/Oct/16 19:59
Start Date: 12/Oct/16 19:59
Worklog Time Spent: 10m
Work Description: Github user jpeach commented on a diff in the pull
request:
https://github.com/apache/trafficserver/pull/1089#discussion_r83085975
--- Diff: plugins/experimental/ts_lua/ts_lua_misc.c ---
@@ -66,6 +71,20 @@ ts_lua_inject_misc_variables(lua_State *L)
}
static int
+ts_lua_get_process_id(lua_State *L)
+{
+ const char *s;
+ TSUuid process = TSProcessUuidGet();
+ if (process) {
+ s = TSUuidStringGet(process);
--- End diff --
None of these calls fail. IMHO it is fine to ``lua_error`` or
``ink_release_assert`` rather than attempting error handling.
Issue Time Tracking
-------------------
Worklog Id: (was: 30517)
Time Spent: 1h 50m (was: 1h 40m)
> ts_lua: Add support for the UUID and HttpSM ID tags
> ---------------------------------------------------
>
> Key: TS-4592
> URL: https://issues.apache.org/jira/browse/TS-4592
> Project: Traffic Server
> Issue Type: New Feature
> Components: Lua, Plugins
> Reporter: Kit Chan
> Assignee: Kit Chan
> Fix For: 7.1.0
>
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Just like TS-4520
> we want a similar support in ts_lua
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)