From f7cea42c92848351dc97d5cf9c4622896ee8b2be Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Fri, 27 Feb 2015 09:48:28 -0500 Subject: [PATCH] Fix a type in the name of the set method for `max_http_body_size`. fixes #406 --- changelog.md | 7 +++++++ websocketpp/endpoint.hpp | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index c7eed0497..2906c724c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ HEAD +0.5.1 - 2015-02-27 +- Bug: Fixes an issue where some frame data was counted against the max header + size limit, resulting in connections that included a lot of frame data + immediately after the opening handshake to fail. + Bug: Fix a type in the name of the set method for `max_http_body_size`. #406 + Thank you jplatte for reporting. + 0.5.0 - 2015-01-22 - BREAKING UTILITY CHANGE: Deprecated methods `http::parser::parse_headers`, `http::response::parse_complete`, and `http::request::parse_complete` have diff --git a/websocketpp/endpoint.hpp b/websocketpp/endpoint.hpp index 467f0d822..15db1ccb3 100644 --- a/websocketpp/endpoint.hpp +++ b/websocketpp/endpoint.hpp @@ -406,11 +406,11 @@ class endpoint : public config::transport_type, public config::endpoint_base { * The default is set by the max_http_body_size value from the template * config * - * @since 0.5.0 + * @since 0.5.1 * * @param new_value The value to set as the maximum message size. */ - void get_max_http_body_size(size_t new_value) { + void set_max_http_body_size(size_t new_value) { m_max_http_body_size = new_value; }