a first file sent using packets at max size

This commit is contained in:
Paul Schneider 2019-06-30 02:41:48 +01:00
commit 7b14144193
13 changed files with 217 additions and 150 deletions

View file

@ -37,10 +37,9 @@ namespace Yavsc
AnonAvatar = "/images/Users/icon_anon_user.png",
YavscConnectionStringEnvName = "YAVSC_DB_CONNECTION";
// at the end, let 4*4 bytes in peace
public const int WebSocketsMaxBufLen = 4*1020;
public const int WebSocketsMaxBufLen = 4*1024;
public static readonly long DefaultFSQ = 1024*1024*500;
public static readonly Scope[] SiteScopes = { 

View file

@ -1,3 +1,4 @@
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yavsc.Abstract.Streaming;