Hello,

On Fri, Oct 16, 2015 at 06:38:16PM +0200, One Seeker wrote:
> Hello,
> 
> I would like to manipulate some data from a TCP backend (modify data before
> it is forwarded to client), and this is not supported (it is for HTTP with
> rewrites, but not in TCP mode).
> 
> With v1.6, Lua scripting brings hope, but the documentation is lacking
> (doc/lua-api/index.rst is a bit of a harsh place to start learning this
> aspect of HAProxy)..
> Is there an "elaborate" (or advanced) example of using Lua with HAProxy
> (not a Hello World) I can learn from (I'm very good at learning from
> real-world code :), not necessarily doing what I'm describing here, but
> just doing some real stuff to showcase Lua for HAProxy..

I understand what you're looking for. I've seen that Thierry is currently
working on a nice doc, but as any doc, it takes at least as long to write
as it took to implement the documented features. There are some simple
examples on blog.haproxy.com, I don't know if they help you enough. Maybe
at some point if you post what you came up with, someone here could help
you finish.

That's all I can provide for now :-/

willy


Reply via email to