Re: [PATCH] fix #660

2020-07-15 Thread Willy Tarreau
On Thu, Jul 16, 2020 at 02:06:48AM +0500, ??? wrote: > I attached only the first patch at a time. Patch applied, thanks Ilya! Willy

Plaintext HTTP/2 and HTTP/1.1 in the same proxy with HAproxy 2.2

2020-07-15 Thread James Brown
Hello everybody: I'm experimenting a bit with plaintext HTTP/2 backends (for gRPC ) and encountering some weird issues. My goal is to be able to support etcd, which multiplexes a normal good API on HTTP/1.1 with a gRPC API on HTTP/2 on the same plaintext port. I'm doing my testing on HAproxy

Re: [PATCH] fix #660

2020-07-15 Thread Илья Шипицин
I attached only the first patch at a time. ср, 15 июл. 2020 г. в 13:08, Илья Шипицин : > > > ср, 15 июл. 2020 г. в 12:00, Willy Tarreau : > >> Hi Ilya, >> >> > From 4f62799eba5db5fe6400d458877677f098da3b13 Mon Sep 17 00:00:00 2001 >> > From: Ilya Shipitsin >> > Date: Sun, 12 Jul 2020 15:24:55

[PATCH] DOC/MINOR: haproxy: Add description which delimiter is used for h1-case-adjust-file

2020-07-15 Thread Aleksandar Lazic
Hi. This patch is a proposal to add the to the doc the delimiter for h1-case-adjust-file. Regards Aleks >From d1b1061a54bb254c722cdfc984cde3466eabf5a1 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 15 Jul 2020 21:31:18 +0200 Subject: [PATCH] DOC/MINOR: haproxy: Add description which

[PATCH] BUG/MEDIUM: fcgi-app: fix memory leak in fcgi_flt_http_headers

2020-07-15 Thread Harris Kaufmann
When the loop is continued early, the memory for param_rule is not freed. This can leak memory per request, which will eventually consume all available memory on the server. --- src/fcgi-app.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fcgi-app.c b/src/fcgi-app.c

Re: proposing a haproxy 2.0.16 release (was [BUG] haproxy retries dispatch to wrong server)

2020-07-15 Thread Christopher Faulet
Am 11.07.20 um 00:03 schrieb Tim Düsterhus: Lukas, Am 10.07.20 um 21:04 schrieb Lukas Tribus: I finally pushed this fix in the 2.0. Note the same bug affected the HTTP proxy mode (using http_proxy option). In this case, the connection retries is now disabled (on the 2.0 only) because the

Re: proposing a haproxy 2.0.16 release (was [BUG] haproxy retries dispatch to wrong server)

2020-07-15 Thread Tim Düsterhus
William, Christopher, Am 11.07.20 um 00:03 schrieb Tim Düsterhus: > Lukas, > > Am 10.07.20 um 21:04 schrieb Lukas Tribus: >>> I finally pushed this fix in the 2.0. Note the same bug affected the HTTP >>> proxy >>> mode (using http_proxy option). In this case, the connection retries is now >>>

Re: Handling of pidfile in daemon and master-worker mode

2020-07-15 Thread Willy Tarreau
Hi Takeshi, On Sat, Jul 11, 2020 at 04:44:41PM +, mizuta.take...@fujitsu.com wrote: > If multiple haproxy are started under these specifications, the behavior as: > > - in daemon mode > >Run /usr/sbin/haproxy -D -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid, >then

Re: [PATCH] fix #660

2020-07-15 Thread Илья Шипицин
ср, 15 июл. 2020 г. в 12:00, Willy Tarreau : > Hi Ilya, > > > From 4f62799eba5db5fe6400d458877677f098da3b13 Mon Sep 17 00:00:00 2001 > > From: Ilya Shipitsin > > Date: Sun, 12 Jul 2020 15:24:55 +0500 > > Subject: [PATCH] src/server.c: add extra guards when loading state file > > > > this should

Re: [PATCH] fix #660

2020-07-15 Thread Willy Tarreau
Hi Ilya, > From 4f62799eba5db5fe6400d458877677f098da3b13 Mon Sep 17 00:00:00 2001 > From: Ilya Shipitsin > Date: Sun, 12 Jul 2020 15:24:55 +0500 > Subject: [PATCH] src/server.c: add extra guards when loading state file > > this should fix #660 > > we can only load 'local' state file, if file

Re: OSX builds in Travis

2020-07-15 Thread Willy Tarreau
On Sat, Jul 11, 2020 at 10:03:29PM +0500, ??? wrote: > I decided to switch to the latest osx available (list: > https://docs.travis-ci.com/user/reference/osx/#macos-version ) > I attached updated patch OK applied now, thank you Ilya! We'll see how it performs :-) Willy