|
1 |
| -wslay 1.0.0 |
| 1 | +wslay 1.1.1 |
2 | 2 | ===========
|
3 | 3 |
|
4 | 4 | Release Note
|
5 | 5 | ------------
|
6 | 6 |
|
7 |
| -This release fixes several build issues. Most changes were introduced |
8 |
| -by contributors. Thank you for all the contributions in this project. |
9 |
| -Because wslay is very stable since the previous release (more than 2 |
10 |
| -years ago), we mark this release 1.0.0. |
| 7 | +This release fixes the bug that eof is not evaluated after the |
| 8 | +invocation of read_callback. |
11 | 9 |
|
12 | 10 | Changes
|
13 | 11 | -------
|
14 | 12 |
|
15 |
| -* Fix NULL check in wslay_frame_context_init. |
| 13 | +* Check for eof when read_callback returns 0 (GH-47) |
16 | 14 |
|
17 |
| - Patch from Witchakorn Kamolpornwijit |
| 15 | + Patch from Robert Bragg |
18 | 16 |
|
19 |
| -* the examples uses epoll and thus only be built on linux |
| 17 | +
|
20 | 18 |
|
21 |
| - Patch from Kazuho Oku |
| 19 | +wslay 1.1.0 |
| 20 | +=========== |
| 21 | + |
| 22 | +Release Note |
| 23 | +------------ |
| 24 | + |
| 25 | +This release adds CMake build support and the ability to set and |
| 26 | +verify reserved bits. Build issue with nettle >= 3.4 was fixed. |
| 27 | + |
| 28 | +Changes |
| 29 | +------- |
| 30 | + |
| 31 | +* Fix compilation of examples |
| 32 | + |
| 33 | + Since 3.4 nettle defines base64_encode_raw like this: |
| 34 | + |
| 35 | + void base64_encode_raw(char *dst, size_t length, const uint8_t *src); |
| 36 | + |
| 37 | + So examples have to be adjusted. More read at |
| 38 | + https://git.lysator.liu.se/nettle/nettle/blob/nettle_3.4_release_20171119/NEWS#L49-53 |
| 39 | + |
| 40 | + Patch from Sergey Avseyev |
| 41 | + |
| 42 | +* check for 0 length before memcpy: |
| 43 | + |
| 44 | + .../wslay/lib/wslay_event.c:304:7: runtime error: null pointer passed as argument 2, which is declared to never be null |
| 45 | + |
| 46 | + Patch from Anders Bakken |
| 47 | + |
| 48 | +* Skip UTF-8 validation for PMCE fragments |
| 49 | + |
| 50 | + If the message was marked with rsv1 on the initial frame then we |
| 51 | + should skip utf-8 validation on subsequent continuation frames as |
| 52 | + well. |
| 53 | + |
| 54 | + Added test for this case. |
| 55 | + |
| 56 | + Found by autobahn wstest tool. |
| 57 | + |
| 58 | + Patch from Isaac Boukris |
| 59 | + |
| 60 | +* Allow RSV1 bit in event-based API for PMCE - RFC 7692 |
22 | 61 |
|
23 |
| -* build: allow one to build out-of-tree documentation |
| 62 | + Add a new function wslay_event_set_allowed_rsv_bits which only accpet |
| 63 | + RSV1 for now (or 0 to disable). |
24 | 64 |
|
25 |
| - Patch from Vincent Bernat |
| 65 | + Skip UTF-8 validation on frames with RSV1 set as it is too early for that. |
26 | 66 |
|
27 |
| -* build: fix `./configure` when nettle is not present |
| 67 | + Add extended versions of wslay_event_queue_msg functions which also |
| 68 | + take the reserved bits to set for this message. |
28 | 69 |
|
29 |
| - `PKG_CHECK_MODULES` will fail unless we give it an action to execute |
30 |
| - on failure. When nettle is not available, we set `have_nettle` to |
31 |
| - `no`. |
| 70 | + Patch from Isaac Boukris |
32 | 71 |
|
33 |
| - Patch from Vincent Bernat |
| 72 | +* fixed missing malloc guard |
34 | 73 |
|
35 |
| -* Adds the ability to override the version header include with a |
36 |
| - define. This enables projects to set the build version from the |
37 |
| - compile environment and avoid the need to generate the version |
38 |
| - header. |
| 74 | + Patch from Jakub Piskorz |
39 | 75 |
|
40 |
| - Patch from Ben Vanik |
| 76 | +* Fix argc check. |
41 | 77 |
|
42 |
| -* Improve http_handshake in fork-echoserver. |
| 78 | + Patch from Anders Bakken |
43 | 79 |
|
44 |
| - Patch from Gurjeet Singh |
| 80 | +* CMake support |
45 | 81 |
|
46 |
| -* Don't send any pending control frame other than Close control frame |
47 |
| - after Close is queued. |
| 82 | + Patch from wonder-mice |
0 commit comments