projects
/
platform
/
upstream
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
765914c
)
ssl set ssl to NULL on close
author
Andrew Canaday
<andrew.canaday@nytimes.com>
Thu, 3 Dec 2015 01:44:15 +0000
(09:44 +0800)
committer
Andy Green
<andy.green@linaro.org>
Thu, 3 Dec 2015 01:44:15 +0000
(09:44 +0800)
lib/ssl.c
patch
|
blob
|
history
diff --git
a/lib/ssl.c
b/lib/ssl.c
index
04c96cf
..
cb19d60
100644
(file)
--- a/
lib/ssl.c
+++ b/
lib/ssl.c
@@
-515,6
+515,7
@@
lws_ssl_close(struct libwebsocket *wsi)
SSL_shutdown(wsi->ssl);
compatible_close(n);
SSL_free(wsi->ssl);
+ wsi->ssl = NULL;
return 1; /* handled */
}