diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-14 19:40:27 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-14 19:40:29 +0200 |
commit | a5b6d0f4211fe22e86175b58d59876c81bbd3886 (patch) | |
tree | 0c7d8f9bacfbe1b17c6f942bdf8dab4eb5be9551 /client.c | |
parent | d518cb32327492ad73c4583bb69d1d678410a631 (diff) |
uhttpd: mark a TLS connections internally to clean up their state
Fixes a per-SSL-connection memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |