diff --git a/doc/lua-api/index.rst b/doc/lua-api/index.rst index 595239872..f8cfee26b 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: