NEWS 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. wslay 1.1.1
  2. ===========
  3. Release Note
  4. ------------
  5. This release fixes the bug that eof is not evaluated after the
  6. invocation of read_callback.
  7. Changes
  8. -------
  9. * Check for eof when read_callback returns 0 (GH-47)
  10. Patch from Robert Bragg
  11. wslay 1.1.0
  12. ===========
  13. Release Note
  14. ------------
  15. This release adds CMake build support and the ability to set and
  16. verify reserved bits. Build issue with nettle >= 3.4 was fixed.
  17. Changes
  18. -------
  19. * Fix compilation of examples
  20. Since 3.4 nettle defines base64_encode_raw like this:
  21. void base64_encode_raw(char *dst, size_t length, const uint8_t *src);
  22. So examples have to be adjusted. More read at
  23. https://git.lysator.liu.se/nettle/nettle/blob/nettle_3.4_release_20171119/NEWS#L49-53
  24. Patch from Sergey Avseyev
  25. * check for 0 length before memcpy:
  26. .../wslay/lib/wslay_event.c:304:7: runtime error: null pointer passed as argument 2, which is declared to never be null
  27. Patch from Anders Bakken
  28. * Skip UTF-8 validation for PMCE fragments
  29. If the message was marked with rsv1 on the initial frame then we
  30. should skip utf-8 validation on subsequent continuation frames as
  31. well.
  32. Added test for this case.
  33. Found by autobahn wstest tool.
  34. Patch from Isaac Boukris
  35. * Allow RSV1 bit in event-based API for PMCE - RFC 7692
  36. Add a new function wslay_event_set_allowed_rsv_bits which only accpet
  37. RSV1 for now (or 0 to disable).
  38. Skip UTF-8 validation on frames with RSV1 set as it is too early for that.
  39. Add extended versions of wslay_event_queue_msg functions which also
  40. take the reserved bits to set for this message.
  41. Patch from Isaac Boukris
  42. * fixed missing malloc guard
  43. Patch from Jakub Piskorz
  44. * Fix argc check.
  45. Patch from Anders Bakken
  46. * CMake support
  47. Patch from wonder-mice