mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
GC bug fix
This commit is contained in:
@ -192,17 +192,9 @@ namespace Esiur.Net.HTTP
|
||||
|
||||
protected override void DataReceived(HTTPConnection sender, NetworkBuffer data)
|
||||
{
|
||||
//Console.WriteLine(Data);
|
||||
// Initialize a new session
|
||||
//HTTPConnection HTTP = (HTTPConnection)sender.ExtraObject;
|
||||
|
||||
//string Data = System.Text.Encoding.Default.GetString(ReceivedData);
|
||||
|
||||
|
||||
byte[] msg = data.Read();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
var BL = sender.Parse(msg);
|
||||
|
||||
if (BL == 0)
|
||||
@ -265,7 +257,8 @@ namespace Esiur.Net.HTTP
|
||||
try
|
||||
{
|
||||
foreach (var resource in filters)
|
||||
resource.Execute(sender);
|
||||
if (resource.Execute(sender))
|
||||
return;
|
||||
|
||||
|
||||
sender.Send("Bad Request");
|
||||
|
Reference in New Issue
Block a user