[...]

> > > If you want a other maneer to store shared data inhaproxy, you can use
> > > maps. The maps are shared by all the HAProxy process including Lua with
> > > a special API (see Map class)
> > 
> >  I thought on Maps but I didn't find a write access  in lua according
> > to http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#map-class
> > and some of my experiments
> 
> 
> You're absolutely right. I'm afraid that I forgot to implement the
> write acces. Maybe I had a good reason to not implement this, but I'm
> not remember.
>
> I will look for this.


Hello,

I have the response. The map object cannot perform thewrite acces, but
you must see these functions:

   core.add_acl
   core.del_acl
   core.set_map
   core.del_map

Here the links:

   http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#core.add_acl
   http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#core.set_map
   http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#core.del_acl
   http://www.arpalert.org/src/haproxy-lua-api/1.6/index.html#core.del_map

Thierry
 
> 
> Thierry
> 
> 
> > Thanks
> > Joris
> > >
> > > Thierry
> 

Reply via email to