mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
MINOR: filters/lua: Release filters before the lua context
This patch is mandatory to allow the support of the filters written in lua.
This commit is contained in:
parent
23976d9e40
commit
03fb1b26f7
@ -655,6 +655,9 @@ static void stream_free(struct stream *s)
|
||||
pool_free(pool_head_uniqueid, s->unique_id.ptr);
|
||||
s->unique_id = IST_NULL;
|
||||
|
||||
flt_stream_stop(s);
|
||||
flt_stream_release(s, 0);
|
||||
|
||||
hlua_ctx_destroy(s->hlua);
|
||||
s->hlua = NULL;
|
||||
if (s->txn)
|
||||
@ -684,9 +687,6 @@ static void stream_free(struct stream *s)
|
||||
s->resolv_ctx.requester = NULL;
|
||||
}
|
||||
|
||||
flt_stream_stop(s);
|
||||
flt_stream_release(s, 0);
|
||||
|
||||
if (fe) {
|
||||
if (s->req_cap) {
|
||||
struct cap_hdr *h;
|
||||
|
Loading…
Reference in New Issue
Block a user