Re: missing date() fetcher in lua api in haproxy 2.2

2020-08-07 Thread Christopher Faulet
Le 31/07/2020 à 15:42, Christopher Faulet a écrit : Le 29/07/2020 à 01:29, James Brown a écrit : In earlier versions of haproxy, the txn.f object had a `date()` method when called from a fetch context which returned the current unix timestamp. In HAproxy 2.2, this method is removed. [...] My

Re: missing date() fetcher in lua api in haproxy 2.2

2020-07-31 Thread Christopher Faulet
Le 29/07/2020 à 01:29, James Brown a écrit : In earlier versions of haproxy, the txn.f object had a `date()` method when called from a fetch context which returned the current unix timestamp. In HAproxy 2.2, this method is removed. [...] My best guess is that this is related to ae6f125c Yo

missing date() fetcher in lua api in haproxy 2.2

2020-07-28 Thread James Brown
In earlier versions of haproxy, the txn.f object had a `date()` method when called from a fetch context which returned the current unix timestamp. In HAproxy 2.2, this method is removed. The `date()` fetch is still documented and works fine from bare haproxy config, so I'm not sure why Lua can't h