Re: [PATCH] MINOR: sample: add json_string

2021-04-16 Thread Tim Düsterhus
Willy, On 4/16/21 8:24 AM, Willy Tarreau wrote: - tok = mjson_find(smp->data.u.str.area, smp->data.u.str.data, args[0].data.str.area, &p, &n); + enum mjson_tok token_type = mjson_find(smp->data.u.str.area, smp->data.u.str.data, args[0].data.str.area, &token, &token_size); As much

Re: [PATCH v2 0/8] URI normalization / Issue #714

2021-04-16 Thread Tim Düsterhus
Willy, Christopher, On 4/16/21 6:56 PM, Willy Tarreau wrote: Thanks Tim, The series looks good to me. Except if Willy has any comments, I'll merge it soon. No need for me to double-check, I'll trust you (and you know I like to complain afterwards :-)) I'll probably complain myself afterwar

Re: [PATCH v2 0/8] URI normalization / Issue #714

2021-04-16 Thread Willy Tarreau
On Fri, Apr 16, 2021 at 06:51:41PM +0200, Christopher Faulet wrote: > Le 15/04/2021 à 21:45, Tim Duesterhus a écrit : > > Christopher, > > > > again: Thank you for the very helpful review. In this series you can find > > v2 of > > my URI normalization patches. I hope I did not forget to incorpora

Re: [PATCH v2 0/8] URI normalization / Issue #714

2021-04-16 Thread Christopher Faulet
Le 15/04/2021 à 21:45, Tim Duesterhus a écrit : Christopher, again: Thank you for the very helpful review. In this series you can find v2 of my URI normalization patches. I hope I did not forget to incorporate any of your feedback. Some general notes: - I completely cleaned up the commit histo

Re: changed IP messages overrunning /var/log ?

2021-04-16 Thread Jim Freeman
Root cause - haproxy intentionally double logs : https://github.com/haproxy/haproxy/blob/master/src/server.c srv_update_addr(...) { ... /* generates a log line and a warning on stderr */ ... } On Thu, Apr 15, 2021 at 11:06 PM Jim Freeman wrote: ... > The duplication of logging the new(?) 'changed

Bandwidth limitation in HAProxy

2021-04-16 Thread Aleksandar Lazic
Hi. How difficult will it be to add a bandwidth limitation into HAProxy similar to the nginx feature? https://nginx.org/en/docs/http/ngx_http_core_module.html#limit_rate Regards Aleks