Re: [PATCH] BUG/MINOR: lua: schedule socket task when lua connect() is called

2018-05-05 Thread Willy Tarreau
Hi Pieter, On Sun, May 06, 2018 at 12:00:14AM +0200, PiBa-NL wrote: > The parameters like server-address, port and timeout should be set before > process_stream task is called to avoid the stream being 'closed' before it > got initialized properly. This is most clearly visible when running with >

Re: [PATCH] Make sure all the pollers get fd updates

2018-05-05 Thread Willy Tarreau
Hi Olivier, On Fri, May 04, 2018 at 05:32:24PM +0200, Olivier Houchard wrote: > This can't be applied to 1.8, as it uses code that was not, and probably won't > be, backported, so a different patch, similar in spirit, will be developed. Thanks for these patches. Now applied. I mentioned the point

Re: stable-bot: NOTICE: 7 bug fixes in queue for next release

2018-05-05 Thread Willy Tarreau
On Tue, May 01, 2018 at 02:23:37PM +0200, Aleksandar Lazic wrote: > Hi. > > Am 30.04.2018 um 18:24 schrieb stable-...@haproxy.com: > > Hi, > > > > This is a friendly bot that watches fixes pending for the next > > haproxy-stable release! One such e-mail is sent every week once patches > > are

[PATCH] BUG/MINOR: lua: schedule socket task when lua connect() is called

2018-05-05 Thread PiBa-NL
Hi List, Thierry, Willy, Created another little patch. Hope this one fits all submission criteria. Regards, PiBa-NL (Pieter) From cc4adb62c55f268e9e74853f4a4893e2a3734aec Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sat, 5 May 2018 23:51:42 +0200 Subject: [PATCH] BUG/MINOR: lua: schedule socket

Re: Priority based queuing

2018-05-05 Thread Willy Tarreau
On Sat, May 05, 2018 at 01:33:51PM -0400, Patrick Hemmer wrote: > > Also I'm thinking that we can even use 32-bit by putting the frontier > > between the date and the fixed priority (let's call it class) somewhere > > else : > > - 8 bit class + 24 bit offset => 256 classes and +/- 2.3 hours offs

Re: Priority based queuing

2018-05-05 Thread Patrick Hemmer
On 2018/5/5 01:29, Willy Tarreau wrote: > On Fri, May 04, 2018 at 06:49:00PM -0400, Patrick Hemmer wrote: >> I'm not quite following the need for multiple queues. Why wouldn't you >> just have one sorted queue, where if multiple pending requests have the >> same priority, then they're FIFO. > Tha