On Sat, Jan 28, 2017 at 09:38:13AM +0100, thierry.fourn...@arpalert.org wrote:
> Hi, I prefer the prefix '_' because it is shorter that "match_". I'm
> confident for the unicity of these name because there are locked in the
> namespace "Map". If someone uses "_beg" or "_end" in other context,
>
On Mon, Jan 30, 2017 at 06:19:25PM +0100, thierry.fourn...@arpalert.org wrote:
> > Thanks for doing this, I think it's the right way to address it. Do you
> > think
> > there is a way to emit a warning when the deprecated names are used ? That
> > would be nice for next version, though it's not
On Mon, 30 Jan 2017 08:37:16 +0100
Willy Tarreau wrote:
> Hi Thierry,
>
> On Sat, Jan 28, 2017 at 09:38:13AM +0100, thierry.fourn...@arpalert.org wrote:
> > >From dc3695a41af3d3a77681cec0ba23005d0370fc07 Mon Sep 17 00:00:00 2001
> > From: Thierry FOURNIER
Hi Thierry,
On Sat, Jan 28, 2017 at 09:38:13AM +0100, thierry.fourn...@arpalert.org wrote:
> >From dc3695a41af3d3a77681cec0ba23005d0370fc07 Mon Sep 17 00:00:00 2001
> From: Thierry FOURNIER
> Date: Sat, 28 Jan 2017 08:33:08 +0100
> Subject: [PATCH 1/2] BUG/MINOR: lua:
On Thu, 12 Jan 2017 09:51:28 +
"Robin H. Johnson" wrote:
> On Wed, Jan 11, 2017 at 12:17:26PM +0100, Willy Tarreau wrote:
> > On Mon, Jan 09, 2017 at 08:47:17PM +, Robin H. Johnson wrote:
> > > Maybe Willy would considering changing the name of the matches to
Hi. Just a quick message: I don't forget this bug, I'm just just very busy.
Thierry
Le 12 janvier 2017 10:54:42 AM "Robin H. Johnson"
a écrit :
On Wed, Jan 11, 2017 at 12:17:26PM +0100, Willy Tarreau wrote:
On Mon, Jan 09, 2017 at 08:47:17PM +, Robin H.
On Wed, Jan 11, 2017 at 12:17:26PM +0100, Willy Tarreau wrote:
> On Mon, Jan 09, 2017 at 08:47:17PM +, Robin H. Johnson wrote:
> > Maybe Willy would considering changing the name of the matches to 'prefix'
> > & 'suffix' instead of 'beg' & 'end', and just keep beg/end as legacy.
> Another
On Mon, Jan 09, 2017 at 08:47:17PM +, Robin H. Johnson wrote:
> Maybe Willy would considering changing the name of the matches to 'prefix'
> & 'suffix' instead of 'beg' & 'end', and just keep beg/end as legacy.
It's convenient to keep short names there as they're commonly used in
anonymous
On Mon, Jan 09, 2017 at 07:49:40PM +0100, thierry.fourn...@arpalert.org wrote:
> > I see two potential ways forward:
> > a) Map['end'] # works right now, but ugly
> > b) Map.match_end # intent is much clearer
> Hi, thank for you comment ! You're absolutely right. This keyword
> doesn't run because
On Mon, 9 Jan 2017 18:22:56 +
"Robin H. Johnson" wrote:
> TL;DR:
> 'end' is a reserved Lua keyword, and cannot be used as a structure
> member as in Map.end. Need to change the naming of constants maybe?
>
>
TL;DR:
'end' is a reserved Lua keyword, and cannot be used as a structure
member as in Map.end. Need to change the naming of constants maybe?
http://www.arpalert.org/src/haproxy-lua-api/1.7/index.html#map-class
> -- Create and load map
> geo = Map.new("geo.map", Map.ip);
Now if you want to use
11 matches
Mail list logo