55 Commits
Author SHA1 Message Date
Vinnie Falco 7594c88f8f CMake 3.5.1 is required 2017-10-09 14:35:56 -07:00
Vinnie Falco 167f9641a4 Tidy up doc badge links 2017-09-30 07:25:33 -07:00
Vinnie Falco 04bf98298f Update build instructions
fix #796
2017-09-26 10:03:46 -07:00
Vinnie Falco 1de06dfaeb Update README.md master doc link 2017-09-10 16:10:47 -07:00
Vinnie Falco ad587e11b8 Fix typo in README.md 2017-08-14 15:30:17 -07:00
Vinnie Falco 0a5a48f8da Update boostorg links 2017-07-31 19:02:47 -07:00
Vinnie Falco df9ec6c7f3 Move bench/ to test/ 2017-07-31 19:02:46 -07:00
Vinnie Falco 8fbb358354 Use off-site Quick Start link temporarily 2017-07-30 12:09:53 -07:00
Vinnie Falco 79d36bb526 Use off-site doc link 2017-07-29 12:44:57 -07:00
Vinnie Falco 698884d8bb Move benchmarks to bench/ 2017-07-28 18:55:32 -07:00
Vinnie Falco a61578634b Set version to 88 2017-07-26 18:45:22 -07:00
Vinnie Falco f4c2cd7ec6 Update doc links in README.md 2017-07-26 09:54:22 -07:00
Vinnie Falco e1495e4fe2 Update README, add CONTRIBUTING.md and CODE_OF_CONDUCT.md 2017-07-25 17:47:01 -07:00
Vinnie Falco 982f4c3b70 Update documentation for boost 2017-07-24 09:41:27 -07:00
Vinnie Falco a72839645d Update README.md 2017-07-23 17:36:31 -07:00
Vinnie Falco f94f5738a3 Update README.md 2017-07-20 08:15:29 -07:00
Vinnie Falco 2843a497a0 Documentation revision
fix #567, fix #572
2017-07-20 08:15:29 -07:00
Vinnie Falco 74891560ae Refactor WebSocket, HTTP examples:
fix #297, fix #488

* Errors are checked and reported
* More comments explaining what is going on
* The connection is gracefully closed

WebSocket:

* Messages are drained before closing
2017-07-20 08:15:27 -07:00
Vinnie Falco 2bbb8ab8a2 Documentation tidy 2017-07-20 08:15:26 -07:00
Vinnie Falco ee191d865c Tidy up README.md build instructions
fix #479
2017-07-20 08:12:20 -07:00
Vinnie Falco cff5be3837 Documentation work 2017-07-20 08:12:19 -07:00
Vinnie Falco 02d5aedc29 Refactor HTTP serialization and parsing (API Change):
fix #404

Parsing and serialization interfaces have been fine tuned and unified.

For parsing these stream operations are defined:

* read
* read_header
* read_some
* async_read
* async_read_header
* async_read_some

For serialization these stream operations are defined:

* write
* write_header
* write_some
* async_write
* async_write_header
* async_write_some
2017-07-20 08:12:17 -07:00
Vinnie Falco 00caf76f9e Fix README websocket example
fix #385
2017-07-20 08:12:17 -07:00
Vinnie Falco e86ca5d66b Require Boost 1.58 or later 2017-07-20 08:12:17 -07:00
Vinnie Falco 188fa554d3 Reformat README.md QR code 2017-07-20 08:12:17 -07:00
Vinnie Falco f957af483f Require Boost 1.64.0 2017-07-20 08:12:17 -07:00
Vinnie Falco 8d329b2368 Remove coveralls integration 2017-07-20 08:12:17 -07:00
Vinnie Falco a52914175b Refactor http::header contents (API Change):
fix #124

The http::header data members "method", "url", and "reason"
are changed from data members, to pairs of get and set
functions which forward the call to the Fields type used
to instantiate the template.

Previously, these data members were implemented using
std::string. With this change, the implementation of the
Fields type used to instantiate the template is now in
control of the representation of those values. This permits
custom memory allocation strategies including uniform use of
the Allocator type already provided to beast::http::basic_fields.
2017-07-20 08:12:16 -07:00
Vinnie Falco e4a204b145 Rename to http::dynamic_body, consolidate header:
fix #284

* streambuf_body is renamed to dynamic_body
* basic_dynabuf_body is renamed to basic_dynamic_body
2017-07-20 08:12:15 -07:00
Vinnie Falco 656017e36d Update README.md 2017-07-20 08:12:15 -07:00
Vinnie Falco 7407e3adc3 Fix README.md CMake instructions
fix #318
2017-07-20 08:12:15 -07:00
Vinnie Falco e8be3fd7d3 New HTTP interfaces (API Change):
fix #123
fix #154
fix #265

This completely replaces the HTTP parser used to read and
parse incoming messages. The new version is faster than
the old one, and written in fewer lines. A summary of
changes:

* parse and async_parse renamed to read and async_read

* basic_parser is optimized for linear buffers,
  use flat_streambuf for the best performance with these
  functions:

  - http::read
  - http::read_some
  - http::async_read
  - http::async_read_some

* The overloads of read() and async_read() which take
  just a header have been removed, since they would
  throw away important parse metadata.

* The derived class callbacks for basic_parser have
  been streamlined. All strings passed to callbacks
  are presented in their entirety, instead of being
  provided in pieces.

These changes allow use-cases that were previously
difficult or impossible, such as:

- Efficient relaying

- Late body type commitment

- Expect: 100-continue handling
2017-07-20 08:12:15 -07:00
Vinnie Falco 75b8e30a15 Add appveyor build script
Fix #75
2017-07-20 08:12:15 -07:00
Vinnie Falco 5bb5f62b9a Require Visual Studio 2015 Update 3 or later
fix #216
2017-07-20 08:12:15 -07:00
Sergey Lyubimov 3641521af7 Update CMake scripts for finding packages:
These changes require CMake version 3.7.2 or later.
2017-07-20 08:12:15 -07:00
Vinnie Falco c5833e279c Fix badge markdown in README.md 2017-07-20 08:12:15 -07:00
Vinnie Falco 269ca3610a Update README.md for CppCast 2017 2017-07-20 08:12:14 -07:00
Vinnie Falco c6dae58364 Update README.md example programs
fix #219
2017-07-20 08:12:14 -07:00
Denis Andrejew 753281959e Improve websocket example in README.md
fix #138

* Refactoring for clarity
2017-07-20 08:12:13 -07:00
Vinnie Falco 252c2c620f Update README.md for CppCon 2016 presentation 2017-07-20 08:12:12 -07:00
Vinnie Falco 0821ca6e11 Update README.md 2017-07-20 08:12:09 -07:00
Vinnie Falco 5f8f6c0b75 Update README, rename CHANGELOG 2017-07-20 08:12:09 -07:00
Keaton Okkonen b7201be164 Update README.md (fix #62) 2017-07-20 08:12:09 -07:00
Vinnie Falco 796f20314c Update HTTP documentation (fix #61, #60, #59) 2017-07-20 08:12:09 -07:00
Vinnie Falco 2c4bdf933e Update documentation and images 2017-07-20 08:12:09 -07:00
Vinnie Falco 306cdf22d0 Update README.md for CppCon 2016 2017-07-20 08:12:07 -07:00
Jack Bond-Preston d005b97c0b Fix to_string.hpp include path in example code 2017-07-20 08:12:07 -07:00
The Gitter Badger e6d7ef35fc Add Gitter badge 2017-07-20 08:12:07 -07:00
Vinnie Falco 6c30ee1a98 Rename concept to DynamicBuffer (API change):
Conform to the Networking TS by renaming the Streambuf concept
to DynamicBuffer in all places. Values of types meeting the
requirements of DynamicBuffer are renamed to dynabuf.

See:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4478.html#requirements.dynamic_buffers

* Headers renamed
* Formal parameter names renamed
* Template argument types renamed
* Documentation updated
2017-07-20 08:12:07 -07:00
Nicholas Dudfield 4833dc3958 Travis CI updates:
* Run autobahn/valgrind tests when target branch in {master, develop}
* Add coveralls
* Show full stacktrace for usan (RIPD-1150)
* Manual launch of coverage (RIPD-1152)
* Use lldb on Darwin (RIPD-1152)
* Set defaults if not CI (RIPD-1152)
* Add autobahn result parser (RIPD-1147)
2017-07-20 08:12:07 -07:00