mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-15 20:03:33 -04:00
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>
This commit is contained in:
parent
94f20d494c
commit
29458ba7f1
1 changed files with 2 additions and 2 deletions
|
|
@ -883,7 +883,7 @@ Core class
|
|||
|
||||
.. js:function:: core.tcp()
|
||||
|
||||
**context**: init, task, action
|
||||
**context**: task, action
|
||||
|
||||
This function returns a new object of a *socket* class.
|
||||
|
||||
|
|
@ -891,7 +891,7 @@ Core class
|
|||
|
||||
.. js:function:: core.httpclient()
|
||||
|
||||
**context**: init, task, action
|
||||
**context**: task, action
|
||||
|
||||
This function returns a new object of a *httpclient* class.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue