commit | ab00df6cf64c0840aa9dd20cee4eb8e9f4297eba | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Thu Jul 14 11:42:37 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Jul 14 16:14:24 2016 +0200 |
tree | 89d0ac251626aa5fffe555f3394a4456769eca28 | |
parent | 8ab79420bacc236ad364fc8c2ac48a29f821704e [diff] |
BUG/MEDIUM: lua: the function txn_done() from sample fetches can crash The function txn_done() ends a transaction. It does not make sense to call this function from a lua sample-fetch wrapper, because the role of a sample-fetch is not to terminate a transaction. This patch modify the role of the fucntion txn_done() if it is called from a sample-fetch wrapper, now it just ends the execution of the Lua code like the done() function. Must be backported in 1.6