mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-22 02:20:56 -04:00
DOC: lua: mention than txn:close was renamed txn:done.
Also indicate that it's not limited to error processing.
This commit is contained in:
parent
630ef4585a
commit
bc183a6eda
1 changed files with 4 additions and 3 deletions
|
|
@ -931,10 +931,11 @@ TXN class
|
|||
:param class_txn txn: The class txn object containing the data.
|
||||
:returns: an array of headers.
|
||||
|
||||
.. js:function:: TXN.close(txn)
|
||||
.. js:function:: TXN.done(txn)
|
||||
|
||||
This function close the transaction and the associated session. It can be
|
||||
used when a critical error is detected.
|
||||
This function terminates processing of the transaction and the associated
|
||||
session. It can be used when a critical error is detected or to terminate
|
||||
processing after some data have been returned to the client (eg: a redirect).
|
||||
|
||||
:param class_txn txn: The class txn object containing the data.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue