commit | f2bbe38242cb4c3801c87323efc0d4f0400b9ae6 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Mon Jul 24 13:59:22 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 25 18:18:40 2017 +0200 |
tree | dca1fb88d9878d1a12137a5487443e7efd035385 | |
parent | d1aa41f83b75f874d9586facc0f93ae4b1b51783 [diff] |
MINOR: lua: Add proxy as member of proxy object. By Adis Nezirovic: This is just for convenience and uniformity, Proxy.servers/listeners returns a table/hash of objects with names as keys, but for example when I want to pass such object to some other Lua function I have to manually copy the name (or wrap the object), since the object itself doesn't expose name info. This patch simply adds the proxy name as member of the proxy object.