该项目从 https://github.com/warmcat/libwebsockets 镜像。
Pull mirroring failed .
由于尝试失败次数过多,仓库镜像已暂停,可以由项目维护者或所有者恢复。
上次成功更新 。
由于尝试失败次数过多,仓库镜像已暂停,可以由项目维护者或所有者恢复。
上次成功更新 。
- 10月 26, 2020
-
-
由 Andy Green 创作于
-
由 Andy Green 创作于
32-bit Debian doesn't have these included by other includes already and needs them explicitly.
-
由 Andy Green 创作于
-
由 Andy Green 创作于
-
- 10月 17, 2020
-
-
-
由 krismattheus 创作于
Signed-off-by:
krismattheus <kris.mattheus@visionbms.com>
-
- 10月 15, 2020
-
-
由 Andy Green 创作于
-
- 10月 11, 2020
-
-
由 Mykola Stryebkov 创作于
AG: various fixes and adaptation of test protocol to use ring lock to protect global wsi list against modifications from other threads while in use
-
由 Andy Green 创作于
With SMP + event lib, extra locking is required when dealing with cross-thread adoption case, and cross-vhost cases like wsi close, we need to hold the pt or context lock. These lock apis are NOPs when LWS_MAX_SMP == 1 which is the default.
-
由 Andy Green 创作于
This lets you find out the SMP Thread Service Index (tsi) that a wsi is bound to. This allows you to, eg, filter a global wsi list so you can find the ones that exist in your service thread context.
-
由 Andy Green 创作于
Together with the new lws_wsi_tsi(wsi) this lets the WAIT_CANCELLED callback understand its tsi context, the broadcasts are done for each pt / loop.
-
由 Andy Green 创作于
Now we're also looking at SMP + event lib, SMP locking pieces are going to be needed for import into the event lib plugins if built as plugins.
-
- 10月 10, 2020
-
-
由 casey 创作于
The cmake define isn't exported, and msvc objects to void * comparision to non void *. Also dump the callback pointer with any errors, since after looking it up in your mapfile this is usually enough to understand which sul and when it was set.
-
由 Andy Green 创作于
-
由 Andy Green 创作于
-
由 Andy Green 创作于
-
- 10月 09, 2020
-
-
由 Andy Green 创作于
Add a return code NOTHING_WE_SHOULD_DO indicating that the extension determined by ext-specific means its operation was disabled on this frame. https://github.com/warmcat/libwebsockets/issues/2076
-
由 casey 创作于
-
由 casey 创作于
pt->events became an array
-
由 Andy Green 创作于
-
由 Andy Green 创作于
Rather than a magic port, let's have lwip pick the port for the UDP cancel "pipe", so no chance of conflict.
-
由 Andy Green 创作于
-
- 10月 07, 2020
-
-
由 Sylvain Rochet 创作于
Fix build failure against Atmel ASF3 SDK that does not provide a file API conforming to POSIX. libwebsockets/lib/core/libwebsockets.c: In function 'lws_open': libwebsockets/lib/core/libwebsockets.c:187:18: error: 'O_CREAT' undeclared (first use in this function) if (((__oflag & O_CREAT) == O_CREAT) ^~~~~~~
-
- 10月 06, 2020
-
-
- 9月 30, 2020
-
-
由 Andy Green 创作于
-
由 Andy Green 创作于
-
由 Andy Green 创作于
-
由 Andy Green 创作于
Next release of cmake will choke by default if minimum version < 2.8.12
-
由 Andy Green 创作于
In the case http client doesn't get a response and closes, currently it is confused, it reports it as a CLIENT_CONNECTION_ERROR but then also a CLOSED_CLIENT_HTTP. Adapt the logic so we only go that way for ws connection... not getting the server headers means not reaching ESTABLISHED, which makes it a CCE not a CLOSE. Also make sure we never issue a CLOSE type callback if we issued a CCE.
-
- 9月 22, 2020
-
- 9月 21, 2020
-
-
由 Andy Green 创作于
-
由 小明 创作于
-
- 9月 20, 2020
-
-
由 Andy Green 创作于
Currently only the low 8 bits of an SS state are proxied in a total packet length of 8 octets. Keep that format and behaviour since all the defined states fit in 8 bits, but also allow for 32-bit states using a packet length of 11 octets with the same command. This lets us proxy user states (from http mapping) which start at a user base of 1000.
-
- 9月 19, 2020
-
-
由 Andy Green 创作于
-
- 9月 18, 2020
-
-
由 Andy Green 创作于
EXTERNAL_POLL is not recommended for use for a while, it's a hack to allow integration of lws with random application poll() loops. While lws is very happy to do that secondary job for any event lib using the foreign loop support (for uv, event, glib, and ev), for random roll-your- own poll() waits there's no api because there's no event lib. The solution with a future is upgrade your application to use an event loop. The test app that supports EXTERNAL_POLL was broken in Apr 2018, so it's apparently good news nobody has been using it in new implementations since then. This patch adds in the missing pieces so we can test it until it is formally deprecated.
-
- 9月 17, 2020
-
-
由 Orgad Shaneh 创作于
Since 425da070 LWS_PTHR_FLAGS is no longer used, so just remove it.
-
由 Orgad Shaneh 创作于
afunix.h doesn't exist on mingw.
-
由 Orgad Shaneh 创作于
ws32 and friends must come after the openssl libs, and pthread is required for openssl.
-
- 9月 15, 2020
-
-
由 Orgad Shaneh 创作于
It doesn't work with 4.3.3
-
由 Orgad Shaneh 创作于
-