1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

Removed looping in function libwebsocket_context_destroy.

This commit is contained in:
Лужецкий 2014-09-25 12:09:44 +04:00
parent 2bc9c4f1a2
commit 0faba839a8

View file

@ -132,7 +132,8 @@ int lws_issue_raw(struct libwebsocket *wsi, unsigned char *buf, size_t len)
switch (n) {
case LWS_SSL_CAPABLE_ERROR:
return -1;
n=(int)len;
break;
case LWS_SSL_CAPABLE_MORE_SERVICE:
/* nothing got sent, not fatal, retry the whole thing later */
n = 0;