Vinnie Falco
c465ed5a69
Update repository links in source comments
2017-07-29 12:44:10 -07:00
Vinnie Falco
c57f9ba18e
basic_fields::value_type is not copyable
...
fix #697
2017-07-29 03:51:22 -07:00
Vinnie Falco
1497b4efa4
Set version to 91
2017-07-29 00:26:15 -07:00
Vinnie Falco
e15448a83a
control frame callbacks are non-const references:
...
fix #653
Actions Required:
* Modify calls to set the control frame callback, to
pass non-const reference instances, and manage the
lifetime of the instance.
2017-07-28 17:07:25 -07:00
Vinnie Falco
6ab9bd2780
Use fopen_s on Windows
...
fix #691
2017-07-28 17:07:25 -07:00
Vinnie Falco
f02353b7f5
Use Asio array optimization in static_buffer_base
...
fix #689
2017-07-28 17:07:24 -07:00
Vinnie Falco
df73241a60
constexpr in derived buffers
...
fix #657
2017-07-28 17:07:24 -07:00
Vinnie Falco
18a698f7f6
Use read buffer instead of buffered stream
2017-07-28 17:07:24 -07:00
Vinnie Falco
70c1d361fd
Refactor accept, handshake ops
2017-07-28 17:07:23 -07:00
Vinnie Falco
07535d6289
Optimize buffered_read_stream
...
fix #651
2017-07-28 17:07:23 -07:00
Vinnie Falco
e87bac242b
Tidy up websocket javadocs
2017-07-28 17:07:23 -07:00
Vinnie Falco
c367309122
Tidy up namespace qualifiers
2017-07-28 17:07:23 -07:00
Vinnie Falco
f2da16c9f6
Don't build pre-C++11
2017-07-28 17:07:22 -07:00
Vinnie Falco
7bcfd2ed26
Set version to 90
2017-07-28 16:29:08 -07:00
Vinnie Falco
0fb562a4d7
Fix typo in equal_range
...
fix #688
2017-07-27 21:18:04 -07:00
Vinnie Falco
cbb47a0ffd
Fix websocket read of zero length message
...
fix #686
2017-07-27 19:09:15 -07:00
Vinnie Falco
c7b830f37f
Set version to 89
2017-07-27 10:14:27 -07:00
Vinnie Falco
a61578634b
Set version to 88
2017-07-26 18:45:22 -07:00
Vinnie Falco
ce82e6476d
Fix uninitialized frame done
2017-07-26 18:45:06 -07:00
Vinnie Falco
c2d5829f0e
Set version to 87
2017-07-25 17:47:03 -07:00
Vinnie Falco
3cba28f308
variant fixes and tests
2017-07-25 15:58:07 -07:00
Vinnie Falco
9003cf5f0b
Set version to 86
2017-07-25 10:37:48 -07:00
Vinnie Falco
e56d9955de
websocket read returns the number of bytes inserted (API Change):
...
* read and async_read now return the number of bytes inserted
into the caller's buffer.
Actions Required:
* Change the signature of completion handlers used with
websocket::stream::async_read to void(error_code, std::size_t)
2017-07-25 08:50:58 -07:00
Vinnie Falco
5d65f81e5f
Remove spurious declaration
2017-07-24 14:47:31 -07:00
Vinnie Falco
8578f3cf76
Update copyrights
2017-07-24 09:42:51 -07:00
Vinnie Falco
7317bd0de9
Use custom variant
2017-07-23 17:36:12 -07:00
Vinnie Falco
7139dd639a
Boost prep
2017-07-23 17:34:13 -07:00
Vinnie Falco
3777cb8b9c
Set version to 85
2017-07-22 20:09:30 -07:00
Vinnie Falco
71ea5ebb75
Set version to 84
2017-07-20 08:15:32 -07:00
Vinnie Falco
cb501a07c8
WebSocket optimizations (API Change):
...
The websocket stream is optimized to contain a small
circular static buffer, reducing the number of I/O calls when
reading data. The size of the buffer is tuned for maximum
performance with TCP/IP and no long needs configuration:
* read_some replaces read_frame
* write_some replaces write_Frame
* async_read_some replaces async_read_frame
* async_write_some replaces async_write_frame
* websocket::stream::read_buffer_size is removed
Actions Required:
* Remove calls websocket::stream::read_buffer_size
* Use read_some and write_some instead of read_frame and write_frame
2017-07-20 08:15:32 -07:00
Vinnie Falco
8f3d5a094c
Add consuming_buffers::get
2017-07-20 08:15:32 -07:00
Vinnie Falco
4eb926cd67
bind_handler allows placeholders
2017-07-20 08:15:32 -07:00
Vinnie Falco
5e4a5592f3
multi_buffer is type-check friendly
2017-07-20 08:15:32 -07:00
Vinnie Falco
ed7c095df9
static_buffer::consume improvement
2017-07-20 08:15:32 -07:00
Vinnie Falco
834682e650
Add detail::sum_exceeds
2017-07-20 08:15:32 -07:00
Vinnie Falco
22091d5a1c
Tidy up some comments
2017-07-20 08:15:32 -07:00
Vinnie Falco
85cd2b125b
Tidy up buffer_front
2017-07-20 08:15:32 -07:00
Vinnie Falco
271922e752
Set version to 83
2017-07-20 08:15:32 -07:00
Vinnie Falco
60e133ab4c
read_some, async_read_some return bytes used
...
fix #659
2017-07-20 08:15:32 -07:00
Vinnie Falco
04887c49e0
Documentation work
2017-07-20 08:15:32 -07:00
Vinnie Falco
4e44ddbd45
Add static_buffer (API Change):
...
* static_buffer is added
Note this is the same name from two versions ago, when
static_buffer was renamed to flat_static_buffer for
consistency and to clear the name for a circular static
buffer.
Actions Required:
* Callers who depend on static_buffer returning sequences of
exactly length one should switch to flat_static_buffer.
2017-07-20 08:15:32 -07:00
Vinnie Falco
47c07b0a59
Fix buffer lifetime in websocket write
2017-07-20 08:15:32 -07:00
Vinnie Falco
cee3bff060
Add buffer_front
2017-07-20 08:15:32 -07:00
Vinnie Falco
6fa9a97727
Add flat_static_buffer::mutable_data
2017-07-20 08:15:32 -07:00
Vinnie Falco
cda710bda0
Set version to 82
2017-07-20 08:15:32 -07:00
Vinnie Falco
39358a2f93
Fix extraneous argument in async_write_header
...
fix #655
2017-07-20 08:15:32 -07:00
Vinnie Falco
d4eaa002a8
Silence spurious warning
2017-07-20 08:15:32 -07:00
Vinnie Falco
94e92e75b7
Rename to flat_static_buffer and flat_static_buffer_base (API Change):
...
Actions Required:
* Rename static_buffer to flat_static_buffer_base
* Rename static_buffer_n to flat_static_buffer
2017-07-20 08:15:31 -07:00
Vinnie Falco
8fa8ecb502
Use std::function and reference wrapper
2017-07-20 08:15:31 -07:00
Vinnie Falco
3c2d3181fc
accept requires a message
2017-07-20 08:15:31 -07:00