MINOR: httpclient/lua: implement garbage collection
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 28 Sep 2021 17:10:38 +0000 (19:10 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Wed, 6 Oct 2021 13:15:03 +0000 (15:15 +0200)
commitf77f1de802ae9617f1f64c7169a9d592ee15b9e1
tree56bb273e360306ef70ba9e7c041d95c5481782ef
parentb8b13703072ed113f7dcf999ecdb287cf940c979
MINOR: httpclient/lua: implement garbage collection

Implement the garbage collector of the lua httpclient.

This patch declares the __gc method of the httpclient object which only
does a httpclient_stop_and_destroy().
src/hlua.c