uhttpd: mark a TLS connections internally to clean up their state
[project/uhttpd.git] / client.c
index 3163afc..6d23283 100644 (file)
--- 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;
 }