From 99a36dddf53520c669f5a825770d72bb966f0742 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 27 Aug 2015 14:57:04 +0200 Subject: [PATCH] DOC: lua: replace txn:close with txn:done in lua-api It was missed in the last patch. --- doc/lua-api/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 595239872c..f8cfee26bc 100644 --- a/doc/lua-api/index.rst +++ b/doc/lua-api/index.rst @@ -88,7 +88,7 @@ HAProxy Lua file (`hello_world.lua`): function hello_world(txn) txn.res:send("hello world\n") - txn:close() + txn:done() end How to start HAProxy for testing this configuration: