Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-09 10:10 GMT+05:00 Vincent Bernat : > ❦ 9 octobre 2017 08:49 +0500, Илья Шипицин : > > >> > any particular reason for mixing "CC=gcc" with "CC?=gcc" ? > >> > >> I don't see any use of ?=, except for stuff that are expected to be in > >> environment variables (like HOME, DISPLAY, LANG, P

Re: patch: allow to use any compiler

2017-10-08 Thread Vincent Bernat
❦ 9 octobre 2017 08:49 +0500, Илья Шипицин  : >> > any particular reason for mixing "CC=gcc" with "CC?=gcc" ? >> >> I don't see any use of ?=, except for stuff that are expected to be in >> environment variables (like HOME, DISPLAY, LANG, PATH). >> > > # find . -name Makefile -exec grep -E '^CC'

Re: Set-Cookie Secure

2017-10-08 Thread Igor Cicimov
Maybe try something like: http-request set-var(txn.req_ssl) ssl_fc acl https_sess var(txn.req_ssl) acl secured_cookie res.hdr(Set-Cookie),lower -m sub secure rspirep ^(set-cookie:.*) \1;\ Secure if https_sess !secured_cookie So the first line sets transactional variable valid for the

Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-08 15:59 GMT+05:00 Vincent Bernat : > ❦ 8 octobre 2017 15:46 +0500, Илья Шипицин : > > >> > while some Makefiles allow to use CC, other just stick to gcc. > >> > I think we should change to > >> > > >> > CC ?= gcc > >> > >> This doesn't change much. You can already override gcc with "ma

Re: Haproxy refuses new connections when doing a reload followed by a restart

2017-10-08 Thread Georg Faerber
On 17-10-08 21:55:37, William Lallemand wrote: > * To change the KillMode to the default, which should kill -SIGTERM > all processes on a stop or restart. But if I remember well, it leads > to a bad exit code on the systemd side and display an error. There is SuccessExitStatus [1] which might help

Re: Haproxy refuses new connections when doing a reload followed by a restart

2017-10-08 Thread William Lallemand
On Fri, Oct 06, 2017 at 05:04:18PM +0200, Moemen MHEDHBI wrote: > Hi Lukas, > > > On 04/10/2017 22:01, Lukas Tribus wrote: > > I guess the problem is that when a reload happens before a restart and > > pre-reload > > systemd-wrapper process is still alive, systemd gets confused by that old > >

Re: patch: allow to use any compiler

2017-10-08 Thread Vincent Bernat
❦ 8 octobre 2017 15:46 +0500, Илья Шипицин  : >> > while some Makefiles allow to use CC, other just stick to gcc. >> > I think we should change to >> > >> > CC ?= gcc >> >> This doesn't change much. You can already override gcc with "make >> TARGET=... CC=clang". The only thing "?=" is that you

Re: patch: allow to use any compiler

2017-10-08 Thread Илья Шипицин
2017-10-05 1:01 GMT+05:00 Vincent Bernat : > ❦ 4 octobre 2017 23:49 +0500, Илья Шипицин : > > > while some Makefiles allow to use CC, other just stick to gcc. > > I think we should change to > > > > CC ?= gcc > > This doesn't change much. You can already override gcc with "make > TARGET=... CC=