Re: Using sockets from Lua

2015-08-26 Thread Marc-Antoine
Great, no more segfault ! Tx a lot ;) On Tue, 25 Aug 2015 18:28:31 +0200, Willy Tarreau wrote : > On Tue, Aug 25, 2015 at 05:27:59PM +0200, Thierry FOURNIER wrote: > > Hello, > > > > Thank you for the bug repport. It is fixed in the current developpment > > version. You must compile from source

Re: Using sockets from Lua

2015-08-25 Thread Tsvetan Tsvetanov
On Tue, 2015-08-25 at 18:28 +0200, Willy Tarreau wrote: > On Tue, Aug 25, 2015 at 05:27:59PM +0200, Thierry FOURNIER wrote: > > Hello, > > > > Thank you for the bug repport. It is fixed in the current developpment > > version. You must compile from sources or wait for the next dev release. > > >

Re: Using sockets from Lua

2015-08-25 Thread Willy Tarreau
On Tue, Aug 25, 2015 at 05:27:59PM +0200, Thierry FOURNIER wrote: > Hello, > > Thank you for the bug repport. It is fixed in the current developpment > version. You must compile from sources or wait for the next dev release. > > Actually, the function "txn.close()" causes a segfault, it will be >

Re: Using sockets from Lua

2015-08-25 Thread Thierry FOURNIER
Hello, Thank you for the bug repport. It is fixed in the current developpment version. You must compile from sources or wait for the next dev release. Actually, the function "txn.close()" causes a segfault, it will be fixed in a few time. Thierry On Thu, 20 Aug 2015 15:09:10 +0300 Tsvetan Tsv

Using sockets from Lua

2015-08-20 Thread Tsvetan Tsvetanov
Hello, I'm trying to make HAProxy work as a router for certain requests. What I have is a very simple configuration which sends every tcp request to a Lua script. The script then is responsible to parse the request, see for which server it is and forward it there. It then waits for a response and