From a5b6d0f4211fe22e86175b58d59876c81bbd3886 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 14 May 2013 19:40:27 +0200 Subject: uhttpd: mark a TLS connections internally to clean up their state Fixes a per-SSL-connection memory leak Signed-off-by: Felix Fietkau --- client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client.c b/client.c index 3163afc..6d23283 100644 --- a/client.c +++ b/client.c @@ -567,6 +567,7 @@ bool uh_accept_client(int fd, bool tls) next_client = NULL; n_clients++; cl->id = client_id++; + cl->tls = tls; return true; } -- cgit v1.2.3