aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_ws.erl
AgeCommit message (Collapse)Author
2016-06-08Fix #39: Prefer crypto:strong_rand_bytes/1Leo Liu
See also https://github.com/erlang/otp/pull/883
2015-08-26Merge branch 'master' of https://github.com/robashton/cowlibLoïc Hoguin
2015-08-26Fix a Dialyzer warning in cow_wsLoïc Hoguin
2015-04-09WS accepts iodata, so byte_size won't work unless we flattenRob Ashton
2015-03-12Add missing client functionality to Websocket codeLoïc Hoguin
2015-03-06Rewrite UTF-8 validation codeLoïc Hoguin
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.
2015-03-04Add permessage-deflate extension support to WebsocketLoïc Hoguin
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.
2015-02-16Add cow_qs for Websocket protocol parsing/buildingLoïc Hoguin
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.