* [fix] Updated noPoll reading engine to be able to read uncomplete
frames with internal fragmentation (header indicates bigger content but
that's not received after a bit. Updated testConnect.js (regression test
to include a function that triggers the behaviour and checks the fix
introduced).
* [new] Updated internal engine to allow flagging frames received to be
fragments or not so the user can use this information to know if the
frame received is a fragment of a bigger message. Added test_14 reg test
to send partially complete frames to get a complete one as a reply.
API added during this tests:
- nopoll_msg_is_final
- nopoll_msg_is_fragment
- nopoll_msg_join
- nopoll_msg_opcode
- nopoll_conn_send_text_fragment
* [fix] Major stable update including full working support for TLS
websockets (test_06 and test_07). Also added web reg test (test_04 and
test_05) working properly in chrome. Nice! API added:
- nopoll_listener_set_certificate
* [fix] Updated internal code for reading bytes from the wire to have support
to read partial pieces that are satisfied on next calls together with data
found on that operations. Fixed support to properly detect connection close.
* [new] Added initial files to implement a client regression test
on the browsers (using dojo, javascript, etc). Added initial tests
and fixings some issues around masking content over 125 bytes. BIG!
* [new] Added new regression test (test_04) to C reg test to check UTF-8
content and how it applies to masking. Applied several cleanups to the
code to to ensure both server and client (C) do not leak any memory.
Updated API to new function functions:
- nopoll_conn_ref_count
- nopoll_ctx_ref_count
- nopoll_loop_stop
* [fix] Updated nopoll_conn_send_text to allow sending content without
telling the length, making the function to guess it (only for c-like
strings).