mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-05-07 10:18:01 +00:00
BUG/MEDIUM: lua: txn:done() still causes a segfault in TCP mode
We must not dereference s->txn to get the channel, as it doesn't exist in TCP mode.
This commit is contained in:
parent
fca4261dac
commit
0458b08a5a
@ -3664,7 +3664,7 @@ __LJMP static int hlua_txn_done(lua_State *L)
|
||||
channel_auto_close(oc);
|
||||
channel_shutr_now(oc);
|
||||
|
||||
htxn->s->txn->req.chn->analysers = 0;
|
||||
ic->analysers = 0;
|
||||
|
||||
WILL_LJMP(hlua_done(L));
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user