feat: config for size of property

fix: websocket server now can receive large messages
fix: buffer resize on read array
This commit is contained in:
2024-08-17 10:29:27 +03:00
parent f7719e1bca
commit 5136f08dab
10 changed files with 56 additions and 30 deletions
+3
View File
@@ -331,6 +331,9 @@ namespace Ragon.Protocol
var limit = (size + 32 - 1) / 32;
var capacity = size;
if (index + limit >= _buckets.Length)
Resize(size);
for (int i = 0; i < limit; i++)
{
var dataSize = capacity > 32 ? 32 : capacity;