2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-06-27 13:33:13 +00:00
This commit is contained in:
2020-01-26 14:30:39 +03:00
parent 5f4660fde2
commit 61a1683c26
22 changed files with 409 additions and 346 deletions

View File

@ -225,7 +225,6 @@ namespace Esyur.Net.HTTP
}
}
bool bb;
public void SendFile(string filename)
{
@ -299,7 +298,7 @@ namespace Esyur.Net.HTTP
if (n <= 0)
break;
Thread.Sleep(50);
base.Send(buffer, 0, n);
}

View File

@ -53,48 +53,48 @@ namespace Esyur.Net.HTTP
}
[Storable]
string ip
public virtual string ip
{
get;
set;
}
[Storable]
ushort port
public virtual ushort port
{
get;
set;
}
[Storable]
uint timeout
public virtual uint timeout
{
get;
set;
}
[Storable]
uint clock
public virtual uint clock
{
get;
set;
}
[Storable]
uint maxPost
public virtual uint maxPost
{
get;
set;
}
[Storable]
bool ssl
public virtual bool ssl
{
get;
set;
}
[Storable]
string certificate
public virtual string certificate
{
get;
set;
@ -380,6 +380,11 @@ namespace Esyur.Net.HTTP
sender.SetParent(this);
//Console.WriteLine("IN: " + this.Connections.Count);
if (filters == null)
{
sender.Close();
return;
}
foreach (var resource in filters)
{