[PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-05 Thread Adis Nezirovic
Hello guys, Here is a small patch which should fix an issue with Lua StickTable support. This adds support for "dictionary" like values in the stick table dump, most often encountered when you use "stick on" to persist sessions: backend BE_NAME stick-table type ip size 1k stick on

Re: [PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-07 Thread Adis Nezirovic
Hello guys, any comments on the patch? Bump, adding Thierry to the conversation. Best regards, -- Adis Nezirovic Software Engineer HAProxy Technologies - Powering your uptime! 375 Totten Pond Road, Suite 302 | Waltham, MA 02451, US +1 (844) 222-4340 | https://www.haproxy.com

Re: [PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-07 Thread Christopher Faulet
Le 07/05/2020 à 12:17, Adis Nezirovic a écrit : Hello guys, any comments on the patch? Bump, adding Thierry to the conversation. Best regards, Hi Adis, Sorry for the delay and thanks for the reminder. I don't really know how stick table works internally. But you should probably test the d

Re: [PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-07 Thread William Lallemand
On Thu, May 07, 2020 at 02:39:30PM +0200, Christopher Faulet wrote: > Le 07/05/2020 à 12:17, Adis Nezirovic a écrit : > > Hello guys, any comments on the patch? > > > > Bump, adding Thierry to the conversation. > > > > > > Best regards, > > > > Hi Adis, > > Sorry for the delay and thanks for

Re: [PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-07 Thread Adis Nezirovic
On 5/7/20 2:44 PM, William Lallemand wrote: On Thu, May 07, 2020 at 02:39:30PM +0200, Christopher Faulet wrote: Sorry for the delay and thanks for the reminder. I don't really know how stick table works internally. But you should probably test the dict_entry pointer is not NULL before accessing

Re: [PATCH] Fix dumping of stick table entries for k/v pairs.

2020-05-07 Thread Christopher Faulet
Le 07/05/2020 à 15:27, Adis Nezirovic a écrit : On 5/7/20 2:44 PM, William Lallemand wrote: On Thu, May 07, 2020 at 02:39:30PM +0200, Christopher Faulet wrote: Sorry for the delay and thanks for the reminder. I don't really know how stick table works internally. But you should probably test the