Skip to content

Commit f7cea42

Browse files
committed
Fix a type in the name of the set method for max_http_body_size. fixes XRPLF#406
1 parent 9efb12e commit f7cea42

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

changelog.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
HEAD
22

3+
0.5.1 - 2015-02-27
4+
- Bug: Fixes an issue where some frame data was counted against the max header
5+
size limit, resulting in connections that included a lot of frame data
6+
immediately after the opening handshake to fail.
7+
Bug: Fix a type in the name of the set method for `max_http_body_size`. #406
8+
Thank you jplatte for reporting.
9+
310
0.5.0 - 2015-01-22
411
- BREAKING UTILITY CHANGE: Deprecated methods `http::parser::parse_headers`,
512
`http::response::parse_complete`, and `http::request::parse_complete` have

websocketpp/endpoint.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -406,11 +406,11 @@ class endpoint : public config::transport_type, public config::endpoint_base {
406406
* The default is set by the max_http_body_size value from the template
407407
* config
408408
*
409-
* @since 0.5.0
409+
* @since 0.5.1
410410
*
411411
* @param new_value The value to set as the maximum message size.
412412
*/
413-
void get_max_http_body_size(size_t new_value) {
413+
void set_max_http_body_size(size_t new_value) {
414414
m_max_http_body_size = new_value;
415415
}
416416

0 commit comments

Comments
 (0)