Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Beast to 1.0.0-b13 #1847

Merged
merged 51 commits into from Sep 16, 2016
Merged

Update Beast to 1.0.0-b13 #1847

merged 51 commits into from Sep 16, 2016

Commits on Jun 20, 2016

  1. Initialize Writer in prepare:

    Writer requires a call to Writer::init to call content_length. This
    changes prepare to correctly call init. A consequences is that
    prepare can now throw unexpectedly for user-defined writers that
    can fail their initialization.
    vinniefalco committed Jun 20, 2016
    Copy the full SHA
    c4c8a62 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2016

  1. Qualify some calls:

    This fixes a problem where a call to read() is ambiguous because
    the argument list contains objects from both boost::asio and
    beast::http.
    
    Users invoking read may need to do so fully qualified, by writing:
        beast::http::read(...);
    vinniefalco committed Jul 6, 2016
    Copy the full SHA
    bbad20c View commit details
    Browse the repository at this point in the history
  2. Fixes and simplifications to HTTP example server:

    The example HTTP server is updated to provide the correct MIME-type.
    It no longer uses the now-deprecated http::stream class, since that
    implementation does not provide flow control. A new example async_write
    function is provided in the asynchronous server for managing the
    lifetime of a message sent asynchronously.
    
    The logging is thread-safe, and a bug causing connections to
    malfunction is fixed.
    vinniefalco committed Jul 6, 2016
    Copy the full SHA
    5c7130e View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    2a44806 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    6397025 View commit details
    Browse the repository at this point in the history
  5. Fixes and documentation for teardown and use with SSL:

    This solves a problem where clang and gcc locate the deleted
    version of teardown and async_teardown instead of the overloaded
    version. It requires overloads to add `teardown_tag` into the signature
    so that the rules for argument dependent lookup can find the
    right function. Improve documentation of teardown requirements
    
    The documentation is updated to clearly explain the need for including
    <beast/websocket/ssl.hpp> to use SSL streams with WebSocket.
    
    The default implementations of teardown and async_teardown now use
    static_assert to alert the user of improper usage, with comments
    providing guidance for resolving the error.
    vinniefalco committed Jul 6, 2016
    Copy the full SHA
    e2c67a1 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    6765507 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    69da298 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    8375ae6 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    f8a1ec0 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2016

  1. Use Threads::Threads interface library in cmake

    in addition to passing ${CMAKE_THREAD_LIBS_INIT} to the linker, this
    interface library will also add -pthread to the compile options when
    supported
    
    Signed-off-by: Casey Bodley <cbodley@redhat.com>
    cbodley authored and vinniefalco committed Jul 21, 2016
    Copy the full SHA
    ef2330d View commit details
    Browse the repository at this point in the history
  2. Add cmake and clang build to travis

    seelabs authored and vinniefalco committed Jul 21, 2016
    Copy the full SHA
    42557b8 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    e199c05 View commit details
    Browse the repository at this point in the history
  4. Fix to_string.hpp include path in example code

    Jack Bond-Preston authored and vinniefalco committed Jul 21, 2016
    Copy the full SHA
    17fd2ef View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    5349bcc View commit details
    Browse the repository at this point in the history
  6. Fix rfc2616 Section 4.2 compliance:

    basic_headers no longer combines fields with the same name by appending
    a comma and concatenating the two values together. This was breaking
    certain header fields which expect each value to be distinct, such as
    the "Set-Cookie" header.
    
    Now the container behaves more like a multi set with respect to insertion
    of multiple values with the same field name. Additional member functions
    are provided to provide extra functionality.
    vinniefalco committed Jul 21, 2016
    Copy the full SHA
    054d5de View commit details
    Browse the repository at this point in the history
  7. Set version to 1.0.0-b8

    vinniefalco committed Jul 21, 2016
    Copy the full SHA
    225b5a1 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2016

  1. Handle undefined VARIANT in cmake

    wilsonianb authored and vinniefalco committed Jul 22, 2016
    Copy the full SHA
    07bf106 View commit details
    Browse the repository at this point in the history
  2. Set version to 1.0.0-b9

    vinniefalco committed Jul 22, 2016
    Copy the full SHA
    8204d95 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2016

  1. Fix warnings

    Ties Jan Hefting authored and vinniefalco committed Aug 13, 2016
    Copy the full SHA
    1537527 View commit details
    Browse the repository at this point in the history
  2. Add BEAST_EXPECT macro:

    This macro is used in the unit test framework to assist in
    reporting the file and line number of test failures.
    vinniefalco committed Aug 13, 2016
    Copy the full SHA
    8d9c0da View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    461a8ea View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    9e8a5a5 View commit details
    Browse the repository at this point in the history
  5. Set version to 1.0.0-b10

    vinniefalco committed Aug 13, 2016
    Copy the full SHA
    3ff56eb View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2016

  1. Copy the full SHA
    037d521 View commit details
    Browse the repository at this point in the history
  2. Tidy up 32 and 64 bit build support (fix XRPLF#49):

    This fixes up support for building both 32 and 64 bit targets, especially on Windows.
    vinniefalco committed Aug 26, 2016
    Copy the full SHA
    a55d9aa View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    c15751c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    19dd983 View commit details
    Browse the repository at this point in the history
  5. Set URI in generated WebSocket Upgrade requests (fix XRPLF#64):

    The 'resource' parameter in the call to stream::handshake is
    used when building the HTTP request to perform the upgrade.
    vinniefalco committed Aug 26, 2016
    Copy the full SHA
    878c0f2 View commit details
    Browse the repository at this point in the history
  6. Restyle sources

    vinniefalco committed Aug 26, 2016
    Copy the full SHA
    b607d47 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    61023c3 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    d8fe737 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    8a6908c View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    4dfa250 View commit details
    Browse the repository at this point in the history
  11. Update README.md (fix XRPLF#62)

    37 authored and vinniefalco committed Aug 26, 2016
    Copy the full SHA
    b39e481 View commit details
    Browse the repository at this point in the history
  12. Set version to 1.0.0-b11

    vinniefalco committed Aug 26, 2016
    Copy the full SHA
    d263d4d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2016

  1. Copy the full SHA
    aedfaab View commit details
    Browse the repository at this point in the history
  2. Tidy up whitespace

    vinniefalco committed Aug 29, 2016
    Copy the full SHA
    d9017a3 View commit details
    Browse the repository at this point in the history
  3. Fix unit test runner to output all case names:

    Also fixes a bug where suite::log was incorrectly flushed.
    vinniefalco committed Aug 29, 2016
    Copy the full SHA
    dadbab4 View commit details
    Browse the repository at this point in the history
  4. Add BEAST_EXPECTS test failure macro:

    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;
        ```
    vinniefalco committed Aug 29, 2016
    Copy the full SHA
    253f138 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    411b253 View commit details
    Browse the repository at this point in the history
  6. Set version to 1.0.0-b12

    vinniefalco committed Aug 29, 2016
    Copy the full SHA
    241795c View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2016

  1. Remove bin and bin64 directories:

    These directories are removed, to make it easier for developers
    to delete the entire directory contents when rebuilding CMake targets
    after a configuration change.
    vinniefalco committed Sep 2, 2016
    Copy the full SHA
    e499743 View commit details
    Browse the repository at this point in the history
  2. Tidy up CMakeLists

    vinniefalco committed Sep 2, 2016
    Copy the full SHA
    104f12a View commit details
    Browse the repository at this point in the history
  3. Better dstream:

    * non-Windows dstream is a simple reference alias
    * dstream constructor takes a target ostream argument
    * dstream inherits the unitbuf setting of the target stream
    vinniefalco committed Sep 2, 2016
    Copy the full SHA
    a40dd26 View commit details
    Browse the repository at this point in the history
  4. Set version to 1.0.0-b13

    vinniefalco committed Sep 2, 2016
    Copy the full SHA
    2f9a844 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2016

  1. Copy the full SHA
    4bb7419 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    7c90b9e View commit details
    Browse the repository at this point in the history
  3. Add 'src/beast/' from commit '2f9a8440c2432d8a196571d6300404cb76314125'

    git-subtree-dir: src/beast
    git-subtree-mainline: 7c90b9e
    git-subtree-split: 2f9a844
    vinniefalco committed Sep 15, 2016
    Copy the full SHA
    7ffef30 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    71d7d87 View commit details
    Browse the repository at this point in the history
  5. Set version to 0.40.0-b3

    vinniefalco committed Sep 15, 2016
    Copy the full SHA
    8e9f959 View commit details
    Browse the repository at this point in the history