Vinnie Falco
78f4858e98
Fix read_size_helper usage:
...
read_size_helper can return zero if the buffer reaches
its maximum size, causing infinite loops in HTTP. The
function maybe_read_size_helper is provided to throw
an exception instead of returning a value for this case.
2017-07-20 08:12:19 -07:00
Vinnie Falco
aa2c915c96
Canonicalize string_view parameter types
2017-07-20 08:12:18 -07:00
Vinnie Falco
929174d4d8
Tidy up read_size_helper and dynamic buffers
...
fix #376
2017-07-20 08:12:17 -07:00
Vinnie Falco
afde7508f1
Tidy up formal parameter names
...
fix #361
2017-07-20 08:12:17 -07:00
Vinnie Falco
84ece031f2
Use beast::string_view alias
2017-07-20 08:12:16 -07:00
Vinnie Falco
c468158a09
Update copyright dates
2017-07-20 08:12:14 -07:00
Vinnie Falco
911617c43f
Add permessage-deflate WebSocket extension:
...
This implements the permessage-deflate WebSocket
extension as described in HyBi Working Group
draft-ietf-hybi-permessage-compression-28:
https://tools.ietf.org/html/draft-ietf-hybi-permessage-compression-28
This extension allows messages to be compressed using
the raw "deflate" algorithm described in RFC 1951,
"DEFLATE Compressed Data Format Specification version 1.3":
https://www.ietf.org/rfc/rfc1951.txt
2017-07-20 08:12:14 -07:00