forked from boostorg/beast
New overloads of suite::expect take the file and line number
as individual parameters, cleaning up the file name output
by showing only the filename part (to not leak the full path,
which might contain sensitive information).
A new macro BEAST_EXPECTS allows an additional reason
string as well as reporting the file and line. Typical usage:
```
error_code ec;
...
if(! BEAST_EXPECTS(! ec, ec.message()))
return;
```
2.5 KiB
2.5 KiB
1.0.0-b12
- BEAST_EXPECTS to add a reason string to test failures
- Fix unit test runner to output all case names
- Update README for build requirements
- Rename to CHANGELOG.md
1.0.0-b11
- Set URI in generated WebSocket Upgrade requests
- Rename echo server class and file names
- Rename to DynamicBuffer in some code and documentation
- Fix integer warnings in Windows builds
- Add 32 and 64 bit Windows build support
- Update README for build instructions and more
- Add repository and documention banners
1.0.0-b10
- Fix compilation warnings
- Add websocketpp comparison to HTML documentation
1.0.0-b9
- Fix CMakeLists.txt
1.0.0-b8
- Fix include in example code
- Fix basic_headers rfc2616 Section 4.2 compliance
1.0.0-b7
- Fix prepare by calling init. prepare() can throw depending on the implementation of Writer. Publicly provided beast::http writers never throw.
- Fixes to example HTTP server
- Fully qualify ambiguous calls to read and parse
- Remove deprecated http::stream wrapper
- Example HTTP server now calculates the MIME-type
- Fixes and documentation for teardown and use with SSL:
- Add example code to rfc7230 javadocs
- Remove extraneous header file <beast/http/status.hpp>
- Add skip_body parser option
1.0.0-b6
- Use SFINAE on return values
- Use beast::error_code instead of nested types
- Tidy up use of GENERATING_DOCS
- Remove obsolete RFC2616 functions
- Add message swap members and free functions
- Add HTTP field value parser containers: ext_list, param_list, token_list
- Fixes for some corner cases in basic_parser_v1
- Configurable limits on headers and body sizes in basic_parser_v1
API Changes:
-
ci_equal is moved to beast::http namespace, in rfc7230.hpp
-
"DynamicBuffer","dynabuf" renamed from "Streambuf", "streambuf". See: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4478.html#requirements.dynamic_buffers
-
basic_parser_v1 adheres to rfc7230 as strictly as possible