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:
parent
8721f4f5f1
commit
ecd53ad507
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue