]> git.kaiwu.me - haproxy.git/commit
DOC: lua: remove incorrect init tags
authorThayne McCombs <astrothayne@gmail.com>
Mon, 22 Jun 2026 08:41:06 +0000 (02:41 -0600)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Jun 2026 05:03:30 +0000 (07:03 +0200)
commit29458ba7f1ce78c55e57ebdb89543011b06b13e2
treefa8f53558a0ddb9854061be1bd72c446ad022491
parent94f20d494c4d88b7d097238f50bc843809a7b15c
DOC: lua: remove incorrect init tags

The `core.httpclient()` and `core.tcp()` functions aren't actually
available in the init context, as they require the event loop to be set
up.

As such, remove "init" form the list of contexts for those functions.

It probably makes sense to backport this to previous versions.

Fixes: #3420
Signed-off-by: Thayne McCombs <astrothayne@gmail.com>
doc/lua-api/index.rst