update

2018-04-24 Thread Anna Kucirkova
Hello there, On http://feedjunkie.com/feed/99 you are linking to an article about Travel Hacking. I would like to get your opinion on an article I wrote which is Travel Hacking Simplified: Can You Really Fly For Free? . The article is right here:

[PATCH][MINOR] config: Implement 'parse-resolv-conf' directive for resolvers

2018-04-24 Thread Ben Draut
This patch implements the 'parse-resolv-conf' directive for the resolvers section, it was previously discussed on the list in this thread: https://www.mail-archive.com/haproxy@formilux.org/msg29600.html (Is it preferred to use the discussion thread to present the patch?) It's a little

Re: Backup server takes too long to go active

2018-04-24 Thread Shawn Heisey
On 4/24/2018 3:38 PM, Cyril Bonté wrote: Le 24/04/2018 à 23:07, Shawn Heisey a écrit : The configuration I had is with a backend that has two servers, one of them tagged as backup. This is the actual config that I had active when I saw the problem: backend be-cdn-9000 description Back

Re: Backup server takes too long to go active

2018-04-24 Thread Cyril Bonté
Le 24/04/2018 à 23:07, Shawn Heisey a écrit : I sent this query to the list previously nine days ago. I got no response. Trying again. Next time reply to the thread you created, it's better to track which ones had responses. == Kernel info: root@lb1:/etc/haproxy# uname -a Linux

Backup server takes too long to go active

2018-04-24 Thread Shawn Heisey
I sent this query to the list previously nine days ago. I got no response. Trying again. == Kernel info: root@lb1:/etc/haproxy# uname -a Linux lb1 3.13.0-52-generic #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Here's the haproxy version output:

Re: 1.9dev LUA shows partial results from print_r(core.get_info()) after adding headers ?

2018-04-24 Thread PiBa-NL
Hi Tim, Op 24-4-2018 om 14:36 schreef Tim Düsterhus: Hi Am 23.04.2018 um 22:36 schrieb PiBa-NL: Is there a bug in my script, or is it more likely that 'something' needs fixing in the lua api / interaction? I poked around a bit: The cause in this case is the Content-Length header. It causes

Re: Use SNI with healthchecks

2018-04-24 Thread Jonathan Matthews
[Top post; fight me] You could either read an environment variable inherited from outside the process, or use "setenv" or "presetenv" as appropriate to DRY your config out. The fine manual describes how you would refer to this envvar in section 2.3, regardless of which of those options you use

[PATCH] BUG/MINOR: log: t_idle (%Ti) is not set for some requests

2018-04-24 Thread Rian McGuire
Hello, I discovered an issue with %Ti that appears to date back to when it was introduced. If you have TCP content inspection enabled on your frontend, for example: stick-table type string len 64 size 100k expire 60s tcp-request inspect-delay 1s tcp-request content track-sc1

RE: Use SNI with healthchecks

2018-04-24 Thread GALLISSOT VINCENT
I migrated to 1.8 and sni + check-sni are working fine with the following code: 88 backend cloudfront http-request set-header Host 123456789abcde.cloudfront.net option httpchk HEAD /check

Re: multithreading issuse in haproxy 1.8.5

2018-04-24 Thread Willy Tarreau
Slawa, I have a question below : backend default-pool balance roundrobin option httpchk GET /health-check timeout connect 1000ms timeout server 5000ms server elb1 x.eu-west-1.elb.amazonaws.com:80 maxconn 7000 id 1 check resolvers mydns

Re: 1.9dev LUA shows partial results from print_r(core.get_info()) after adding headers ?

2018-04-24 Thread Tim Düsterhus
Hi Am 23.04.2018 um 22:36 schrieb PiBa-NL: > Is there a bug in my script, or is it more likely that 'something' needs > fixing in the lua api / interaction? I poked around a bit: The cause in this case is the Content-Length header. It causes that haproxy does not use chunked encoding for the

[PATCH] BUG/MEDIUM: lua: Fix segmentation fault if a Lua task exits

2018-04-24 Thread Tim Duesterhus
Pieter, try the attached patch, please. Apply with `git am --scissors` to automatically cut the commit message. -- >8 -- Subject: [PATCH] BUG/MEDIUM: lua: Fix segmentation fault if a Lua task exits PiBa-NL reported that haproxy crashes with a segmentation fault if a function registered using

Re: 1.9dev LUA register_task to function that ends performs a core dump..

2018-04-24 Thread Tim Düsterhus
Hi Am 23.04.2018 um 22:51 schrieb PiBa-NL: > Below script makes haproxy perform a coredump when a function that > doesnt loop forever is put into register_task.. is it possible to add > some safety checks around such calls.?. > > The coredump does not seem to contain any useful info when read by