]> git.ipfire.org Git - thirdparty/haproxy.git/commit
DOC: hlua: Add a note to warn user about httpclient object reuse
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 16:48:21 +0000 (18:48 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 27 May 2025 16:48:23 +0000 (18:48 +0200)
commitcb7a2444d149de8e0ce89d7b4a450e5c36822412
tree8091df7d562ad89c6a58d4feaff2806c0fe85728
parent50fca6f0b7ebee94b5ebe402e37af9d7d945fe64
DOC: hlua: Add a note to warn user about httpclient object reuse

It is not supported to reuse an lua httpclient instance to process several
requests. A new object must be created for each request. Thanks to the
previous patch ("BUG/MEDIUM: httpclient: Throw an error if an lua httpclient
instance is reused"), an error is now reported if this happens. But it is
not obvious for users. So the lua-api docuementation was updated accordingly.

This patch is related to issue #2986. It should be backported with the
commit above.
doc/lua-api/index.rst