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:
dd32c24
)
Subject: [PATCH] Fix broken libev support in client mode
author
wonder-mice
<wonder.mice@gmail.com>
Wed, 22 Apr 2015 18:27:45 +0000
(11:27 -0700)
committer
Andy Green
<andy.green@linaro.org>
Wed, 22 Apr 2015 22:06:10 +0000
(06:06 +0800)
lib/client.c
patch
|
blob
|
history
diff --git
a/lib/client.c
b/lib/client.c
index
c9cd156
..
fd65ae8
100644
(file)
--- a/
lib/client.c
+++ b/
lib/client.c
@@
-126,6
+126,7
@@
int lws_client_socket_service(struct libwebsocket_context *context,
*/
if (lws_change_pollfd(wsi, LWS_POLLOUT, 0))
return -1;
+ lws_libev_io(context, wsi, LWS_EV_STOP | LWS_EV_WRITE);
#ifdef LWS_OPENSSL_SUPPORT
/* we can retry this... just cook the SSL BIO the first time */