Status update for 2.1 & 2.0

2019-11-22 Thread Willy Tarreau
Hi all, I spent the day working on a few bugs that will need some backporting so I didn't emit 2.1 nor any new dev version since IMHO that's not needed. We still have a few fixes pending for 2.0 that'll make a new 2.0 worth being released, and in addition Christopher backported the ability to alte

Re: Doc for applet/appctx

2019-11-22 Thread Willy Tarreau
Hi Aleks, On Fri, Nov 22, 2019 at 07:19:29PM +, Aleksandar Lazic wrote: > > Hi. > > In the code is applet and appctx Quote often used but I haven't seen and > documentation about this part of HAProxy. Is there anything about it and I > haven't seen it? Unfortunately no, that's one of the i

Doc for applet/appctx

2019-11-22 Thread Aleksandar Lazic
Hi. In the code is applet and appctx Quote often used but I haven't seen and documentation about this part of HAProxy. Is there anything about it and I haven't seen it? Regards Alex

Re: [PATCH] MINOR: ssl: deduplicate ca-file

2019-11-22 Thread William Lallemand
Hi Manu, I have a few questions/remarks below: > Subject: [PATCH 1/3] MINOR: ssl: deduplicate ca-file > [...] > > +static int ssl_store_load_locations_file(X509_STORE **store_ptr, char *path) > +{ > + struct ebmb_node *eb; > + struct cafile_entry *ca_e; > + > + eb = ebst_lookup(&cafil

Re: [PATCH] MINOR: contrib/prometheus-exporter: allow to select the exported metrics

2019-11-22 Thread William Dauchy
On Fri, Nov 22, 2019 at 11:25:44AM +0100, Christopher Faulet wrote: > URI delimiters must not be encoded, except if you want to escape it. So, > your first url is not equivalent to the second one. The encoded question > mark is part of the path in the first url, it is not the query-string > delimit

Re: HTX no connection close - 2.0.9

2019-11-22 Thread Christopher Faulet
Le 21/11/2019 à 23:54, Valters Jansons a écrit : Hello everyone, I am running HAProxy v2.0.9 on Ubuntu using the dedicated PPA (ppa:vbernat/haproxy-2.0). There seems to be a behavior change for a specific endpoint between HTX enabled and HTX disabled, but I have not been able to pin-point the

Re: [PATCH] MINOR: ssl: deduplicate ca-file

2019-11-22 Thread Emmanuel Hocdet
Fix bad merge from my branch, > Le 22 nov. 2019 à 11:35, Emmanuel Hocdet a écrit : > > > Patches update with compat lib-ssl and crl-file. > Deduplicate Verify-stuff in memory will prevent file access when updating a > certificate with CLI. 0001-MINOR-ssl-deduplicate-ca-file.patch Descripti

Is it a bug?

2019-11-22 Thread hedong
Dear haproxy: I used haproxy as a http proxy, and make data traffic throw it . I send a TTOU(pause) signal to the woker process of haproxy, then all of the wokers hanging at the listen_accept (accept) function. gaohd@nxg_88:~/haproxy$ sudo ./haproxy -f ../gaohd.cfg -W gaohd@nxg_88:~/sc

Re: [PATCH] MINOR: ssl: deduplicate ca-file

2019-11-22 Thread Emmanuel Hocdet
Hi, > Le 29 oct. 2019 à 07:59, Willy Tarreau a écrit : > > Please, let's revisit this after the release. The only people able to > have a look at this and to have an opinion on it are all busy finishing > this release. > Patches update with compat lib-ssl and crl-file. Deduplicate Verify-stuf

Re: [PATCH] MINOR: contrib/prometheus-exporter: allow to select the exported metrics

2019-11-22 Thread Christopher Faulet
Le 21/11/2019 à 16:54, William Dauchy a écrit : Hi Christopher, On Tue, Nov 19, 2019 at 04:35:47PM +0100, Christopher Faulet wrote: +/* Parse the query stirng of request URI to filter the metrics. It returns 1 on + * success and -1 on error. */ +static int promex_parse_uri(struct appctx *appctx