commit | cb14688496e3cca35a10b965fa644f14eb331595 | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Sun Dec 10 17:10:57 2017 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sun Dec 10 19:38:58 2017 +0100 |
tree | 1a10875acfc6a837920e67a235765db58bf3624c | |
parent | d5b79835f8095cce3bb3f32374b571af46973112 [diff] |
BUG/MEDIUM: lua/notification: memory leak The thread patches adds refcount for notifications. The notifications are used with the Lua cosocket. These refcount free the notifications when the session is cleared. In the Lua task case, it not have sessions, so the nofications are never cleraed. This patch adds a garbage collector for signals. The garbage collector just clean the notifications for which the end point is disconnected. This patch should be backported in 1.8