Commit Graph
1009 Commits
Author SHA1 Message Date
Vinnie Falco 04bf98298f Update build instructions
fix #796
2017-09-26 10:03:46 -07:00
Peter Jankuliak fa4df7eb60 Remove unused strands in server examples 2017-09-25 21:33:04 -07:00
Nils Gladitz c81558e38b file_win32 opens for read-only in shared mode:
fix #786

Without this change the second opening of an
already opened file fails with:

  "The process cannot access the file because it
  is being used by another process"
2017-09-25 21:33:04 -07:00
Peter Jankuliak 5a7b8b23db Fix writing headers into std::ostream 2017-09-21 16:08:19 -07:00
Vinnie Falco 0f5ea371c1 Set version to 117 2017-09-20 08:31:42 -07:00
Vinnie Falco b5f22bdef6 Add buffers_to_string
fix #772
2017-09-20 08:31:36 -07:00
Vinnie Falco 2c656a22f9 Remove buffers_suffix::get (API Change):
* buffers_suffix::get member function is removed

Actions Required:

* Avoid calling buffers_suffix::get
2017-09-20 08:31:36 -07:00
Vinnie Falco 06fb2b9dfc buffers_cat replaces buffer_cat (API Change):
fix #773

* buffer_cat is renamed to buffers_cat
* buffer_cat_view is renamed to buffers_cat_view

Actions Required:

* Use buffers_cat instead of buffer_cat
* Use buffers_cat_view instead of buffer_cat_view
2017-09-15 12:52:59 -07:00
Vinnie Falco 38c2816539 buffers_front replaces buffer_front (API Change):
fix #773

* buffer_front is renamed to buffer_front

Actions Required:

* Use buffers_front instead of buffer_front
2017-09-15 12:52:59 -07:00
Vinnie Falco e94a65b04a buffers_prefix replaces buffer_prefix (API Change)
fix #773

* buffer_prefix is renamed to buffers_prefix
* buffer_prefix_view is renamed to buffers_prefix_view

Actions Required:

* Use buffers_prefix instead of buffer_prefix
* Use buffers_prefix_view instead of buffer_prefix_view
2017-09-15 12:52:58 -07:00
Vinnie Falco 795da80859 buffers_suffix replaces consuming_buffers (API Change):
fix #770

* consuming_buffers is renamed to buffers_suffix

Actions Required:

* Use buffers_suffix instead of consuming_buffers
2017-09-15 12:52:45 -07:00
Vinnie Falco dca65932a8 Set version to 116 2017-09-12 17:16:07 -07:00
Vinnie Falco 38e28966ea message::version is a member function (API Change):
fix #778

* The version data member is replaced with accessor
  member functions.

Actions Required:

* Call member function message::version instead of accessing
  the version member at call sites.
2017-09-12 17:13:02 -07:00
Vinnie Falco 54fe7cacf7 message::body is a member function (API Change):
fix #778

* The body data member is replaced with accessor
  member functions.

Actions Required:

* Call member function message::body instead of accessing
  the data member at call sites.
2017-09-12 17:12:12 -07:00
Vinnie Falco 0d4d239d05 Set version to 115 2017-09-10 16:11:10 -07:00
Vinnie Falco 1de06dfaeb Update README.md master doc link 2017-09-10 16:10:47 -07:00
Vinnie Falco 60a33019d4 Set version to 114 2017-09-10 14:35:52 -07:00
Vinnie Falco c388a92227 Set version to 113 2017-09-09 06:49:43 -07:00
Howard Hinnant 4880cdd472 Remove field_range copy constructor
*  This presence of the user-declared copy constructor makes
   the compiler-provided copy assignment operator deprecated.
   This change allows the compiler to provide both copy members
   without deprecated behavior.
2017-09-09 06:49:39 -07:00
Vinnie Falco 0007afdaf2 Fix handler signature in async_read_header 2017-09-09 06:39:49 -07:00
Vinnie Falco d6fce5a00f Set version to 112 2017-09-03 21:44:08 -07:00
Vinnie Falco 49d9d47a0b HTTP reads and writes return bytes transferred (API Change):
* HTTP read and write operations now return the
  number of bytes transferred to or from the stream.

Actions Required:

* Modify HTTP read and/or write completion handlers to receive
  the extra std::size_t bytes_transferred parameter.
2017-09-03 20:37:28 -07:00
Vinnie Falco cc8246e27e Update websocket notes 2017-09-03 20:05:20 -07:00
Vinnie Falco a73b6474e9 Add doc read and write handler class details 2017-09-03 20:05:20 -07:00
Vinnie Falco c0e5f14702 WebSocket writes return the bytes transferred (API Change):
* Stream write operations now return the number of bytes
transferred from the caller's input buffers.

Actions Required:

* Modify websocket write completion handlers to receive
  the extra std::size_t bytes_transferred parameter.
2017-09-03 20:05:19 -07:00
Vinnie Falco 942bca0cc3 Set version to 111 2017-08-31 17:52:39 -07:00
Vinnie Falco 647b3d68e1 Suspended ops special members 2017-08-31 17:52:37 -07:00
Vinnie Falco 51a5a36118 Refactor stream operations and tests plus coverage 2017-08-31 17:52:36 -07:00
Vinnie Falco 9f089c2a33 Fix utf8 check split code point at buffer end 2017-08-31 17:52:36 -07:00
Vinnie Falco c8a42bba0a Set version to 110 2017-08-29 08:22:16 -07:00
Vinnie Falco b13e02bb55 Fix invalid iterator in test reporter
fix #755
2017-08-29 08:22:12 -07:00
Damian Jarek 96c53a048f Add Add test::stream::lowest_layer:
This allows the stream to be used as the next layer type in
a stack of network stream layers.

Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
2017-08-28 22:16:23 -07:00
Vinnie Falco 30b98674d5 Refactor websocket stream: fixes and tests 2017-08-28 22:16:22 -07:00
Vinnie Falco 1d5b3f488e Refactor websocket stream members 2017-08-26 20:12:21 -07:00
Vinnie Falco 4c335a64cf Refactor stream open state variable 2017-08-26 20:12:04 -07:00
Vinnie Falco 526ecc5246 Set version to 109 2017-08-26 07:15:31 -07:00
Vinnie Falco 53fa8a6589 websocket test fixes 2017-08-26 07:15:25 -07:00
Vinnie Falco df7b068fa7 websocket read tests 2017-08-25 07:40:05 -07:00
Vinnie Falco 142b785119 split up websocket tests 2017-08-24 06:38:47 -07:00
Vinnie Falco 5ac51a1054 websocket write tests 2017-08-23 14:38:29 -07:00
Vinnie Falco 2697c26238 Fix websocket close_op resume state 2017-08-23 14:34:14 -07:00
Vinnie Falco 463accffd1 Refactor test::stream 2017-08-23 14:34:13 -07:00
Vinnie Falco 99822aebf5 websocket ping tests 2017-08-23 14:34:13 -07:00
Vinnie Falco 6809c18afa websocket handshake uses coroutine 2017-08-23 14:34:13 -07:00
Vinnie Falco 96eff81cea websocket close fixes and tests 2017-08-23 14:34:13 -07:00
Vinnie Falco 7e815435f6 websocket accept refactoring (API Change):
* stream overloads of accept which take both a message
  and a buffer sequence are removed.

Actions Required:

* Do not call websocket accept overloads which take
  both a message and a buffer sequence, as it is
  illegal per rfc6455.
2017-08-23 14:34:13 -07:00
Vinnie Falco 7a96dc4e11 Fix async_read_some handler signature 2017-08-23 14:34:13 -07:00
Vinnie Falco 0b83eb8e1e Add file to documentation 2017-08-23 12:02:32 -07:00
Vinnie Falco 359cbb1ce4 Set version to 108 2017-08-18 07:55:40 -07:00
Vinnie Falco 59d4b85e15 Don't use async_write_msg in examples
fix #746
2017-08-18 07:55:30 -07:00