Skip to content

Commit

Permalink
Fix a type in the name of the set method for max_http_body_size. fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zaphoyd committed Feb 27, 2015
1 parent 9efb12e commit f7cea42
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions websocketpp/endpoint.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit f7cea42

Please sign in to comment.