./www/wslay, WebSocket library written in C

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.1.0, Package name: wslay-1.1.0, Maintainer: pkgsrc-users

Wslay is a WebSocket library written in C. It implements the protocol version
13 described in RFC 6455. This library offers 2 levels of API: event-based API
and frame-based low-level API. For event-based API, it is suitable for
non-blocking reactor pattern style. You can set callbacks in various events.
For frame-based API, you can send WebSocket frame directly. Wslay only supports
data transfer part of WebSocket protocol and does not perform opening handshake
in HTTP.

Wslay supports:
* Text/Binary messages.
* Automatic ping reply.
* Callback interface.
* External event loop.

Wslay does not perform any I/O operations for its own. Instead, it
offers callbacks for them. This makes Wslay independent on any I/O
frameworks, SSL, sockets, etc. This makes Wslay protable across
various platforms and the application authors can choose freely I/O
frameworks.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: dab83f59ccb52628f33372f81a7bd58a9a50c3ba
RMD160: e6f4366e62964fdcb5cf938c91786c5c72a9aadd
Filesize: 272.449 KB

Version history: (Expand)


CVS history: (Expand)


   2018-06-24 11:15:44 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
wslay: updated to 1.1.0

wslay v1.1.0:
* Fix compilation of examples
  Since 3.4 nettle defines base64_encode_raw like this:
    void base64_encode_raw(char *dst, size_t length, const uint8_t *src);
* check for 0 length before memcpy:
* Skip UTF-8 validation for PMCE fragments
  If the message was marked with rsv1 on the initial frame then we
  should skip utf-8 validation on subsequent continuation frames as
  well.
* Allow RSV1 bit in event-based API for PMCE - RFC 7692
  Add a new function wslay_event_set_allowed_rsv_bits which only accpet
  RSV1 for now (or 0 to disable).
  Skip UTF-8 validation on frames with RSV1 set as it is too early for that.
  Add extended versions of wslay_event_queue_msg functions which also
  take the reserved bits to set for this message.
* fixed missing malloc guard
* Fix argc check.
* CMake support
   2016-04-23 20:32:09 by Adam Ciarcinski | Files touched by this commit (5)
Log message:
Wslay is a WebSocket library written in C. It implements the protocol version
13 described in RFC 6455. This library offers 2 levels of API: event-based API
and frame-based low-level API. For event-based API, it is suitable for
non-blocking reactor pattern style. You can set callbacks in various events.
For frame-based API, you can send WebSocket frame directly. Wslay only supports
data transfer part of WebSocket protocol and does not perform opening handshake
in HTTP.

Wslay supports:
* Text/Binary messages.
* Automatic ping reply.
* Callback interface.
* External event loop.

Wslay does not perform any I/O operations for its own. Instead, it
offers callbacks for them. This makes Wslay independent on any I/O
frameworks, SSL, sockets, etc.  This makes Wslay protable across
various platforms and the application authors can choose freely I/O
frameworks.