Commit Graph

5 Commits

Author SHA1 Message Date
Francis Brosnan Blázquez
1b92360bd3 nopoll:
* [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
2013-04-16 13:48:25 +00:00
Francis Brosnan Blázquez
f9649ef271 nopoll:
* [new] Added support to deny or accept connections based on the origin header.

* [fix] Several modifications to fix the streaming API.
2013-03-18 22:14:19 +00:00
Francis Brosnan Blázquez
c8a2ec4ae3 nopoll:
* [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.
2013-03-03 12:37:38 +00:00
Francis Brosnan Blázquez
a50d12b184 nopoll:
* [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).
2013-03-02 19:09:59 +00:00
Francis Brosnan Blázquez
71b3baca22 nopoll:
* [fix] Adding initial code for a regression test run on a browser..
2013-03-02 12:05:16 +00:00