projects
/
oweals
/
uhttpd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d518cb3
)
uhttpd: mark a TLS connections internally to clean up their state
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 May 2013 17:40:27 +0000
(19:40 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 14 May 2013 17:40:29 +0000
(19:40 +0200)
Fixes a per-SSL-connection memory leak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index 3163afcca557612fdaf41bc687f1ca58d4cae00d..6d23283d9f3f1270efca79cef441b68b183b573c 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;
}