mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-11 01:41:49 -04: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
1 changed files with 3 additions and 3 deletions
|
|
@ -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 a new issue