On Tue, Jan 14, 2020 at 01:46:55PM +0100, Thierry Fournier wrote: > Hi, It have two default path in the library path: > > - path for lua libraries > - cpath for loading lua C libraries. > > In some cases, haproxy requires C libraries like cjson which manipulates json. > > I'm not sure, but it seems that the patch "lua-prepend-path" doesn't include > the cpath.
Yes it does now with an optional "cpath" keyword on the line. Maybe it's not the most convenient way and you'd prefer separate keywords ? Willy