Age | Commit message (Collapse) | Author |
|
See also https://github.com/erlang/otp/pull/883
|
|
|
|
|
|
|
|
|
|
Use a version of the Flexible and Economical UTF-8 Decoder
algorithm specifically optimized for Erlang.
http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
The utf8_state() type is now exported and changed from a binary
to an integer from 0..8.
|
|
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-19
This also fixes some previously unknown issues with UTF-8
handling and simplifies the interface for parsing frames.
|
|
Code extracted from Cowboy and generalized. There are no tests
in this file: the code is tested with Autobahntestsuite through
the Cowboy test suite.
There currently is no function to build a masked frame.
|