switch (n) {
case LWS_SSL_CAPABLE_ERROR:
- lwsl_err("%s: wsi %p: LWS_SSL_CAPABLE_ERROR\n", __func__,
- (void *)wsi);
+// lwsl_err("%s: wsi %p: LWS_SSL_CAPABLE_ERROR\n", __func__,
+// (void *)wsi);
/* we're going to close, let close know sends aren't possible */
wsi->socket_is_permanently_unusable = 1;
return -1;
#if LWS_POSIX
n = send(wsi->sock, (char *)buf, len, MSG_NOSIGNAL);
- lwsl_info("%s: sent len %d result %d", __func__, len, n);
+// lwsl_info("%s: sent len %d result %d", __func__, len, n);
if (n >= 0)
return n;
}
wsi = wsi1;
}
-#if 1
+#if 0
{
char s[300], *p = s;
if ((!(pollfd->revents & pollfd->events & LWS_POLLIN)) &&
(pollfd->revents & LWS_POLLHUP)) {
-
+ wsi->socket_is_permanently_unusable = 1;
lwsl_debug("Session Socket %p (fd=%d) dead\n",
(void *)wsi, pollfd->fd);