Commit Graph
645 Commits
Author SHA1 Message Date
Vinnie Falco 6ef4afa765 Fix pausation::save 2017-08-09 18:50:04 -07:00
Vinnie Falco 9fd7e4adee tools/ renamed from build/ 2017-08-09 18:50:04 -07:00
Vinnie Falco d8a1eef7a3 Tidy up some test warnings 2017-08-09 17:23:41 -07:00
Vinnie Falco da8bc6594d Only set /permissive- on Appveyor 2017-08-09 17:18:07 -07:00
Vinnie Falco d9d2b10760 Only set -std=c++11 on Travis 2017-08-09 16:34:19 -07:00
Vinnie Falco 8977237f8a Use #error in config.hpp 2017-08-09 16:34:18 -07:00
Vinnie Falco 17789ba02e Remove unused include 2017-08-09 14:43:21 -07:00
Vinnie Falco d613feae01 Example HTTP server fixes 2017-08-08 19:25:35 -07:00
Vinnie Falco 0175102151 Tidy up allocator usage 2017-08-08 11:11:44 -07:00
Vinnie Falco cf8182794a Boost test matrix fixes 2017-08-08 11:11:31 -07:00
Vinnie Falco 6f85f38836 Section headings in examples 2017-08-08 06:20:24 -07:00
Vinnie Falco dd71b0f94d Refactor all examples:
fix #575, fix #604, fix #608, fix #634, fix #712

All examples are rewritten:

* Using Best Practices
* Mostly self-contained
* New examples to complete the feature matrix
* The server-framework example is removed
2017-08-07 20:53:11 -07:00
Vinnie Falco 5e6ee5445e websocket documentation 2017-08-04 19:02:13 -07:00
Vinnie Falco 60c8a560bf Add teardown_role for correct TIME_WAIT behavior (API Change):
* teardown_tag is replaced with teardown_role, a client/server
  flag used to determine whether the shutdown is performed
  before or after reading the EOF. This is in accordance with
  RFC6455 7.1.1:

  https://tools.ietf.org/html/rfc6455#section-7.1.1

Actions Required:

* Modify signatures of teardown and async_teardown to use
  teardown_role instead of teardown_tag

* Change calls to teardown and async_teardown to pass the
  correct role: client or server depending on context.
2017-08-04 19:02:13 -07:00
Vinnie Falco de03a1a32d drain_buffer is removed (API Change):
* The drain_buffer dynamic buffer is no longer a public interface.

Actions Required:

* Replace code which uses drain_buffer. For websocket::stream,
  it is no longer necessary to manually drain the connection
  after closing.
2017-08-04 19:02:13 -07:00
Vinnie Falco 64327739f0 WebSocket close will automatically drain (API Change):
fix #642

* Calls to stream::close and stream::async_close will
  automatically perform the required read operations

Actions Required:

* Remove calling code which drains the connection after
  calling stream::close or stream::async_close
2017-08-04 19:02:13 -07:00
Vinnie Falco dc6a08d10a Add variadic min/max 2017-08-04 19:02:13 -07:00
Vinnie Falco 028fda0237 Fix stream::read_size_hint calculation 2017-08-04 19:02:13 -07:00
Vinnie Falco 576edfaaed eof on accept returns error::closed 2017-08-04 19:02:13 -07:00
Vinnie Falco 56a9e6ba9a Call do_fail from read_some 2017-08-04 19:02:13 -07:00
Vinnie Falco 756de5d703 Refactor fail/clode code 2017-08-04 19:02:13 -07:00
Vinnie Falco 34c982b0e7 vcxproj workaround for include symlinks 2017-08-04 19:02:13 -07:00
Vinnie Falco e9d01fe79f Remove obsolete frame tests 2017-08-04 19:02:12 -07:00
Vinnie Falco 387d68f336 Reorder define test macro params 2017-08-04 19:02:12 -07:00
Vinnie Falco 2567f49fb5 Rename test macros 2017-08-04 19:02:12 -07:00
Vinnie Falco 444ef321a5 Remove unused test header 2017-08-04 19:02:07 -07:00
Vinnie Falco c495f946c9 Fix doc includes 2017-08-03 08:53:12 -07:00
Vinnie Falco 69c9ec5d9f Fix doc convenience includes 2017-08-03 07:47:49 -07:00
Nik Bougalis db92ec9127 Fix doc typo 2017-08-03 04:22:08 -07:00
Vinnie Falco e5e25f5c17 Use correct handler signature in fail_op
fix #716
2017-08-03 04:21:24 -07:00
Vinnie Falco 7e1ade4169 Log the value of LIB_DIR for doc builds (debug) 2017-08-01 12:41:36 -07:00
Miguel Portilla ee04fa096b Trim utf8 checker test 2017-08-01 11:56:37 -07:00
Daniel James 66b07798e6 Use unique names for Jam projects 2017-08-01 11:31:50 -07:00
Vinnie Falco 0e5117e006 Fix bench-zlib cmake 2017-08-01 06:18:13 -07:00
Vinnie Falco a7069f184e basic_fields::key_compare is noexcept
fix #704
2017-08-01 06:16:26 -07:00
Vinnie Falco 6be32a2b3d Update redirect 2017-07-31 19:47:02 -07:00
Vinnie Falco 7b364af6e0 Less compression on websocket test 2017-07-31 19:02:48 -07:00
Vinnie Falco 7b90ff852d Faster zlib tests 2017-07-31 19:02:48 -07:00
Vinnie Falco b0d7bc2e86 Add bench-zlib 2017-07-31 19:02:47 -07:00
Vinnie Falco 0a5a48f8da Update boostorg links 2017-07-31 19:02:47 -07:00
Vinnie Falco 81c306ed13 Fix library.json 2017-07-31 19:02:47 -07:00
Vinnie Falco 3fb5d60db2 Rename wsload compile target 2017-07-31 19:02:46 -07:00
Vinnie Falco 00f237bbf6 Use valgrind property 2017-07-31 19:02:46 -07:00
Vinnie Falco 030f5eef87 Move extras/ to test/ 2017-07-31 19:02:46 -07:00
Vinnie Falco df9ec6c7f3 Move bench/ to test/ 2017-07-31 19:02:46 -07:00
Vinnie Falco 8def3b1ba7 Add valgrind variant, fix false positives 2017-07-31 12:37:32 -07:00
Vinnie Falco 0a3029b8ac Fix html redirect 2017-07-31 09:07:21 -07:00
Vinnie Falco c27fbf826d Tidy up static_buffer braced init 2017-07-31 09:07:21 -07:00
Vinnie Falco 6e3c63e685 Add test::stream 2017-07-31 09:07:21 -07:00
Vinnie Falco ef8206041b close on test::pipe teardown 2017-07-31 09:07:20 -07:00