read_message_max is a member of stream (API Change):

fix #446

* The read_message_max option struct is removed.

Actions Required:

* Change call sites which use read_message_max with set_option to
  call stream::read_message_max instead.
This commit is contained in:
Vinnie Falco
2017-07-20 08:12:19 -07:00
parent 513a54835c
commit b9dbb76c4f
6 changed files with 38 additions and 47 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ public:
{
ws.auto_fragment(false);
ws.set_option(pmd_);
ws.set_option(beast::websocket::read_message_max{64 * 1024 * 1024});
ws.read_message_max(64 * 1024 * 1024);
}
};