mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
unix_skt: handle 0 length read as close
This was commented during the metrics patch for some reason... commenting it breaks UDS -> web serving proxying. Uncomment it and see what the other problem is..
This commit is contained in:
parent
632ddd8b9e
commit
51790705a0
1 changed files with 2 additions and 2 deletions
|
@ -283,8 +283,8 @@ lws_ssl_capable_read_no_ssl(struct lws *wsi, unsigned char *buf, size_t len)
|
|||
en = LWS_ERRNO;
|
||||
if (n >= 0) {
|
||||
|
||||
//if (!n && wsi->unix_skt)
|
||||
// goto do_err;
|
||||
if (!n && wsi->unix_skt)
|
||||
goto do_err;
|
||||
|
||||
/*
|
||||
* See https://libwebsockets.org/
|
||||
|
|
Loading…
Add table
Reference in a new issue