]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Change the way that the server handles client connections, fix memleak
authorpcarana <pc.moreno2099@gmail.com>
Tue, 28 Jul 2020 23:16:35 +0000 (18:16 -0500)
committerpcarana <pc.moreno2099@gmail.com>
Tue, 28 Jul 2020 23:16:35 +0000 (18:16 -0500)
commit128c56026101847e4e7311a516a86f92afa40e8a
treea2b6ff4a8972748445015b0a1ae7cdf8252db0e0
parentf392432c3effae561aefa223356367116c020cd5
Change the way that the server handles client connections, fix memleak

+Using a thread for each server socket worked ok, but at a great cost since each thread can increase memory consumption; instead, use non-blocking sockets and select() to poll for client connections on each configured server socket.
+Fix memory leak when the incidence 'stale CRL' returns error.
src/object/certificate.c
src/rtr/rtr.c