Re: TS LUA Plugin

2017-02-05 Thread Shu Kit Chan
Depending on your actual use, ts.http.id() and ts.process.uuid() may be enough. Or the library James mentioned should work, too. Hard to give specific advice on the organization because i think it depends on lots of factors like teams, projects, etc. But I almost always require the team to use mod

Re: TS LUA Plugin

2017-02-01 Thread James Peach
> On Feb 1, 2017, at 5:29 PM, Eric Friedrich (efriedri) > wrote: > > Thanks Kit- > One top level question, maybe more directed at use of LUA is how to generate > a unique ID or number inside of a plugin. I’ve checked the docs and don’t see > any C++ bindings from TS exposed that would help,

Re: TS LUA Plugin

2017-02-01 Thread Eric Friedrich (efriedri)
Thanks Kit- One top level question, maybe more directed at use of LUA is how to generate a unique ID or number inside of a plugin. I’ve checked the docs and don’t see any C++ bindings from TS exposed that would help, so it looks like its left to the LUA math library or using some value from th

Re: TS LUA Plugin

2017-02-01 Thread Shu Kit Chan
Please feel free to ping me or the dev mailing list for questions on the ts- lua plugin It is very good and easy for making quick fixes to manipulate headers and target origin url. Performance is ok and it is quite stable and I think lots of people are using it in production. For more complicated