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:
5f0dc8f
)
lws_ssl_client_connect2 remove duplicate close on error path
author
Andy Green
<andy@warmcat.com>
Mon, 6 Jun 2016 17:34:02 +0000
(
01:34
+0800)
committer
Andy Green
<andy@warmcat.com>
Mon, 6 Jun 2016 17:34:02 +0000
(
01:34
+0800)
https://github.com/warmcat/libwebsockets/issues/532
Signed-off-by: Andy Green <andy@warmcat.com>
lib/ssl-client.c
patch
|
blob
|
history
diff --git
a/lib/ssl-client.c
b/lib/ssl-client.c
index 10fe444a3cd4f745d508668f61508b40704ed19a..df1c5e4ad665692243d4fb036adf8b547af6a1f7 100644
(file)
--- a/
lib/ssl-client.c
+++ b/
lib/ssl-client.c
@@
-278,7
+278,6
@@
lws_ssl_client_connect2(struct lws *wsi)
lwsl_err("server's cert didn't look good, X509_V_ERR = %d: %s\n",
n, ERR_error_string(n, sb));
lws_ssl_elaborate_error();
- lws_close_free_wsi(wsi, LWS_CLOSE_STATUS_NOSTATUS);
return -1;
}
}