Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-30 Thread Frederic Lecaille
On 11/30/18 2:42 AM, PiBa-NL wrote: Hi Frederic, Adis, Hi Pieter, Op 29-11-2018 om 14:53 schreef Frederic Lecaille: Hi Adis, On 11/29/18 10:03 AM, Adis Nezirovic wrote: On Thu, Nov 29, 2018 at 09:03:34AM +0100, Willy Tarreau wrote: OK thanks, I'll take a look at it once I've flushed my pe

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread Willy Tarreau
Hi Pieter, On Fri, Nov 30, 2018 at 02:42:26AM +0100, PiBa-NL wrote: > Attached a new test which does, and does indeed fail on versions since the > mentioned commit. Thanks! > Should i make a patch out of it for inclusion in git? Or can you guys do > that once the fix is also ready.? i think it w

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread PiBa-NL
Hi Frederic, Adis, Op 29-11-2018 om 14:53 schreef Frederic Lecaille: Hi Adis, On 11/29/18 10:03 AM, Adis Nezirovic wrote: On Thu, Nov 29, 2018 at 09:03:34AM +0100, Willy Tarreau wrote: OK thanks, I'll take a look at it once I've flushed my pending stuff on H2+HTX :-( Great, I had my morning

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread Frederic Lecaille
Hi Adis, On 11/29/18 10:03 AM, Adis Nezirovic wrote: On Thu, Nov 29, 2018 at 09:03:34AM +0100, Willy Tarreau wrote: OK thanks, I'll take a look at it once I've flushed my pending stuff on H2+HTX :-( Great, I had my morning coffee and visited my optometrist, so here is a fixed test script (cor

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread Adis Nezirovic
On Thu, Nov 29, 2018 at 09:03:34AM +0100, Willy Tarreau wrote: > OK thanks, I'll take a look at it once I've flushed my pending stuff on > H2+HTX :-( Great, I had my morning coffee and visited my optometrist, so here is a fixed test script (correctly setting Host header). P.S. Lua usually suffers

Re: BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-29 Thread Willy Tarreau
Hi Adis, On Wed, Nov 28, 2018 at 05:35:28PM +0100, Adis Nezirovic wrote: > Hey guys, > > After commit bf89ff3db8be1a8f87de305c144467bbc2503036 > "MEDIUM: stream-int: make stream_int_update() aware of the lower layers" > I'm not able to use client sockets from tasks created with Lua (see > attache

BUG: Lua tasks can't use client sockets after bf89ff3d

2018-11-28 Thread Adis Nezirović
Hey guys, After commit bf89ff3db8be1a8f87de305c144467bbc2503036 "MEDIUM: stream-int: make stream_int_update() aware of the lower layers" I'm not able to use client sockets from tasks created with Lua (see attached configuration and Lua script) You will need LuaSocket library to run the test code,