Skip to content
代码片段 群组 项目
该项目从 https://github.com/warmcat/libwebsockets 镜像。 Pull mirroring failed .
由于尝试失败次数过多,仓库镜像已暂停,可以由项目维护者或所有者恢复。
上次成功更新
  1. 10月 26, 2020
  2. 10月 17, 2020
  3. 10月 15, 2020
  4. 10月 11, 2020
    • Mykola Stryebkov's avatar
      minimal: smp + foreign: libuv foreign loops · dbc3acd5
      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
      v4.1.3
      dbc3acd5
    • Andy Green's avatar
      smp: additional locking for libuv · 4f0545cc
      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.
      4f0545cc
    • Andy Green's avatar
      smp: lws_wsi_tsi · c7c2db87
      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.
      c7c2db87
    • Andy Green's avatar
      smp: set tsi in fakewsi used with WAIT_CANCELLED · 398a2cd4
      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.
      398a2cd4
    • Andy Green's avatar
      evlib: export LWS_MAX_SMP locking for evlib plugin case with SMP · 9df59987
      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.
      9df59987
  5. 10月 10, 2020
  6. 10月 09, 2020
  7. 10月 07, 2020
    • Sylvain Rochet's avatar
      contrib: cross-atmel: build-out FILE_OPS · 7848e4cf
      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)
                        ^~~~~~~
      7848e4cf
  8. 10月 06, 2020
  9. 9月 30, 2020
  10. 9月 22, 2020
  11. 9月 21, 2020
  12. 9月 20, 2020
    • Andy Green's avatar
      sspc: extend RXPRE_CONNSTATE to handle 8 or 32-bit states · 16963f04
      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.
      16963f04
  13. 9月 19, 2020
  14. 9月 18, 2020
    • Andy Green's avatar
      testapp: extpoll: add back missing EXTERNAL_POLL pieces · be1be1f3
      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.
      be1be1f3
  15. 9月 17, 2020
  16. 9月 15, 2020
加载中