| 1 |
wslay 1.1.1 |
| 2 |
=========== |
| 3 |
|
| 4 |
Release Note |
| 5 |
------------ |
| 6 |
|
| 7 |
This release fixes the bug that eof is not evaluated after the |
| 8 |
invocation of read_callback. |
| 9 |
|
| 10 |
Changes |
| 11 |
------- |
| 12 |
|
| 13 |
* Check for eof when read_callback returns 0 (GH-47) |
| 14 |
|
| 15 |
Patch from Robert Bragg |
| 16 |
|
| 17 |
|
| 18 |
|
| 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 |
| 61 |
|
| 62 |
Add a new function wslay_event_set_allowed_rsv_bits which only accpet |
| 63 |
RSV1 for now (or 0 to disable). |
| 64 |
|
| 65 |
Skip UTF-8 validation on frames with RSV1 set as it is too early for that. |
| 66 |
|
| 67 |
Add extended versions of wslay_event_queue_msg functions which also |
| 68 |
take the reserved bits to set for this message. |
| 69 |
|
| 70 |
Patch from Isaac Boukris |
| 71 |
|
| 72 |
* fixed missing malloc guard |
| 73 |
|
| 74 |
Patch from Jakub Piskorz |
| 75 |
|
| 76 |
* Fix argc check. |
| 77 |
|
| 78 |
Patch from Anders Bakken |
| 79 |
|
| 80 |
* CMake support |
| 81 |
|
| 82 |
Patch from wonder-mice |