mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-04 00:59:32 +02:00
close connection if message size exceeds 1meg
This commit is contained in:
parent
bb413e516d
commit
40ea6e9dad
2 changed files with 8 additions and 0 deletions
|
@ -105,6 +105,8 @@ struct tv
|
|||
namespace msg
|
||||
{
|
||||
|
||||
const size_t max_size = 1000000;
|
||||
|
||||
struct BaseMessage
|
||||
{
|
||||
BaseMessage() : type(kBase), id(0), refersTo(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue