Commit Graph
1161 Commits
Author SHA1 Message Date
Vinnie Falco 407b0462d4 Rename to make_serializer 2017-05-28 16:00:06 -07:00
Vinnie Falco c29451a8dd Refactor type_traits (API Change):
fix #373

* concepts.hpp is renamed to type_traits.hpp

* Body reader and writer concepts are renamed
2017-05-28 16:00:05 -07:00
Vinnie Falco 8578419433 Refactor HTTP serialization (API Change):
A new class `serializer` is introduced to permit incremental
serialization of HTTP messages. Existing free functions are
re-implemented in terms of this new class.

* The BodyReader concept is refined to support a greater variety
of strategies for providing buffers representing the body to
the serialization algorithms.

* Added buffer_body, a new model of Body which allows the caller
to provide a series of owned buffers using their own serialization
loop.

* Added empty_body, a model of Body which is for serialization only,
to represent HTTP messages with no content body.

* Removed overloads of write and async_write which send only
the HTTP header.

* Removed public interfaces for performing low-level chunk encoding.
2017-05-28 15:58:27 -07:00
Vinnie Falco f8612aa1df Remove HTTP header aliases (API Change):
fix #382

* request_header and response_header are removed
2017-05-28 15:55:58 -07:00
Vinnie Falco b0054e368c Add test::pipe 2017-05-28 15:39:17 -07:00
Vinnie Falco dfba72b6aa Set version to 45 2017-05-28 15:37:54 -07:00
Vinnie Falco 6ba36974d1 Disable reverse_iterator buffer_view test 2017-05-28 15:37:51 -07:00
Vinnie Falco 266ebac7b7 buffer_view skips empty buffer sequences 2017-05-28 15:37:50 -07:00
Vinnie Falco 96b9892dba Documentation work 2017-05-28 08:50:01 -07:00
Vinnie Falco c23f1e2fbe Fix header::reason 2017-05-27 23:00:04 -07:00
Vinnie Falco 9796106e53 Better test::enable_yield_to 2017-05-26 17:05:17 -07:00
Vinnie Falco 9a8bcb7040 Fix message doc image 2017-05-25 22:19:41 -07:00
Vinnie Falco 7a5e87eb80 Workaround for boost::asio::basic_streambuf type check 2017-05-24 15:14:07 -07:00
Vinnie Falco 663c275fc1 Set version to 44 2017-05-24 12:39:40 -07:00
Vinnie Falco f205976949 Make buffers_adapter meet requirements
fix #386
2017-05-24 12:39:37 -07:00
Vinnie Falco 8e39c604a4 Tidy up is_dynamic_buffer traits test 2017-05-24 12:39:36 -07:00
Vinnie Falco 0088f7cef3 Add buffers_adapter regression test
fix #386
2017-05-24 12:36:09 -07:00
Vinnie Falco 8a23de12d0 Fix README websocket example
fix #385
2017-05-24 12:36:09 -07:00
Vinnie Falco 949504a03e Fix async return values in docs 2017-05-24 12:36:08 -07:00
Vinnie Falco cd9f41b1a0 Use BOOST_STATIC_ASSERT
fix #380
2017-05-24 12:36:08 -07:00
Vinnie Falco 1b616fa1da Tidy up and make get_lowest_layer public
fix #379
2017-05-24 12:36:08 -07:00
Vinnie Falco 612e616978 Require Boost 1.58 or later 2017-05-24 12:36:08 -07:00
Vinnie Falco 1b1daa7b29 Tidy up read_size_helper and dynamic buffers
fix #376
2017-05-24 12:36:07 -07:00
Vinnie Falco bf0145da67 Use BOOST_THROW_EXCEPTION
fix #370
2017-05-24 12:36:07 -07:00
Vinnie Falco e76281867d Add GitHub issue template 2017-05-24 12:36:06 -07:00
Vinnie Falco dab679cb0a Set version to 43 2017-05-22 04:45:01 -07:00
Vinnie Falco 386b817b38 Reformat README.md QR code 2017-05-22 04:44:58 -07:00
Vinnie Falco 50e5123996 Additional constructors for consuming_buffers 2017-05-21 07:55:02 -07:00
Vinnie Falco f7289b9133 Add write limit to test::string_ostream 2017-05-21 07:55:02 -07:00
Vinnie Falco 3aa87e076c Tidy up buffer_prefix overloads and test 2017-05-21 07:55:01 -07:00
Vinnie Falco bee583cac1 Fix strict aliasing warnings in buffers_view 2017-05-21 07:55:00 -07:00
Vinnie Falco 6b54d3ad0f Require Boost 1.64.0 2017-05-21 07:54:45 -07:00
Vinnie Falco 76f1084ecb Set version to 42 2017-05-18 19:39:01 -07:00
Vinnie Falco 0bdb148765 Make buffers_view a public interface 2017-05-18 19:38:58 -07:00
Vinnie Falco 338fc81623 Add formal review notes 2017-05-18 19:38:58 -07:00
Vinnie Falco 784f965a69 Fix javadoc typo 2017-05-15 11:31:32 -07:00
Vinnie Falco 823aee222a Set version to v41 2017-05-14 15:01:21 -07:00
Vinnie Falco 88adbdd95e Remove handler helpers, tidy up hook invocations (API Change) 2017-05-14 15:00:52 -07:00
Vinnie Falco 4974af2972 Rename prepare_buffer(s) to buffer_prefix (API Change) 2017-05-14 15:00:52 -07:00
Vinnie Falco ebd459ba0c Tidy up websocket::close_code enum and constructors
fix #359
2017-05-14 15:00:51 -07:00
Vinnie Falco c3fd6f9087 Tidy up formal parameter names
fix #361
2017-05-14 15:00:51 -07:00
Vinnie Falco 210cd707dd Remove coveralls integration 2017-05-14 15:00:50 -07:00
Vinnie Falco d81196294f Concept revision and documentation (API Change):
The concept type traits are renamed for consistency,
and consolidated into a single header file <beast/core/type_traits.hpp>

A new section, Core Concepts, is added to the documentation describing all
of the core utility classes and functions. This also includes a complete
explanation and sample program describing how to write asynchronous initiation
functions and their associated composed operations.
2017-05-14 15:00:34 -07:00
Vinnie Falco bdae92a8b4 Replace asynchronous helper macros with template aliases (API Change) 2017-05-12 17:40:00 -07:00
Vinnie Falco df95a09024 Move prepare_buffers to prepare_buffer.hpp (API Change)
fix #338
2017-05-10 13:17:28 -07:00
Vinnie Falco 787de2111b Remove placeholders (API Change) 2017-05-10 13:08:43 -07:00
Vinnie Falco c59b5440f0 Trim Appveyor matrix rows 2017-05-10 10:06:09 -07:00
Vinnie Falco b7184f3a69 Return http::error::end_of_stream on HTTP read eof (API Change)
fix #350
2017-05-10 10:03:51 -07:00
Vinnie Falco f2d825594e Set version to 40 2017-05-10 09:17:54 -07:00
Vinnie Falco 40b919449f Tidy up .travis.yml:
* Combine address and undefined sanitizers
* Additional targets for older gcc and 32 bit
2017-05-10 09:17:37 -07:00