commit | bb581423b3ba48dfafb53b70205483f766242a6b | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Oct 20 10:57:28 2022 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Oct 20 18:47:15 2022 +0200 |
tree | 4af2a2de8d2d43654f59905c15c3e5f9321d1bf3 | |
parent | 321d100cc8f86e5713fa7325acb30ef0e962d900 [diff] |
BUG/MEDIUM: httpclient/lua: crash when the lua task timeout before the httpclient When the lua task finished before the httpclient that are associated to it, there is a risk that the httpclient try to task_wakeup() the lua task which does not exist anymore. To fix this issue the httpclient used in a lua task are stored in a list, and the httpclient are destroyed at the end of the lua task. Must be backported in 2.5 and 2.6.