Version 5.0.15 Neue Port Areas (in progress)
This commit is contained in:
parent
e5e7d6fed3
commit
a1ec22dd62
@ -151,6 +151,10 @@ namespace LS100PortProxy
|
|||||||
{
|
{
|
||||||
aChunk = connection.chunks.Dequeue();
|
aChunk = connection.chunks.Dequeue();
|
||||||
//Trace.WriteLine(string.Format("{0} : {1}", connection.Socket.RemoteEndPoint, connection.chunks.Count));
|
//Trace.WriteLine(string.Format("{0} : {1}", connection.Socket.RemoteEndPoint, connection.chunks.Count));
|
||||||
|
if (connection.chunks.Count % 10 == 0)
|
||||||
|
_log.WarnFormat("Chunk count reached {0} elements for Endpoint {1}",
|
||||||
|
connection.chunks.Count,
|
||||||
|
connection.Socket.RemoteEndPoint);
|
||||||
}
|
}
|
||||||
int bytesToSend = aChunk.length;
|
int bytesToSend = aChunk.length;
|
||||||
byte[] buffer = aChunk.data;
|
byte[] buffer = aChunk.data;
|
||||||
@ -184,16 +188,16 @@ namespace LS100PortProxy
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
_log.WarnFormat("something has happened with this consumer connection, breaking the forever loop");
|
_log.WarnFormat("cannot write to reader, clearing chunks..");
|
||||||
// dump queue in this case, packets cannot be sent..
|
// dump queue in this case, packets cannot be sent..
|
||||||
lock (_connections)
|
lock (_connections)
|
||||||
{
|
{
|
||||||
connection.chunks.Clear();
|
connection.chunks.Clear();
|
||||||
}
|
}
|
||||||
break;
|
// break;
|
||||||
}
|
}
|
||||||
|
|
||||||
Thread.Sleep(50);
|
Thread.Sleep(500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (SocketException exc)
|
catch (SocketException exc)
|
||||||
|
|||||||
@ -35,8 +35,8 @@
|
|||||||
<MinimumRequiredVersion>3.5.1.0</MinimumRequiredVersion>
|
<MinimumRequiredVersion>3.5.1.0</MinimumRequiredVersion>
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.html</WebPage>
|
<WebPage>publish.html</WebPage>
|
||||||
<ApplicationRevision>1</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>5.0.14.%2a</ApplicationVersion>
|
<ApplicationVersion>5.0.15.%2a</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
|||||||
Binary file not shown.
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
[assembly: AssemblyCompany("schick Informatik")]
|
[assembly: AssemblyCompany("schick Informatik")]
|
||||||
[assembly: AssemblyProduct("BSMD NSW interface")]
|
[assembly: AssemblyProduct("BSMD NSW interface")]
|
||||||
[assembly: AssemblyInformationalVersion("5.0.14")]
|
[assembly: AssemblyInformationalVersion("5.0.15")]
|
||||||
[assembly: AssemblyCopyright("Copyright © 2014-2018 schick Informatik")]
|
[assembly: AssemblyCopyright("Copyright © 2014-2018 schick Informatik")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
@ -1,4 +1,4 @@
|
|||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("5.0.14.*")]
|
[assembly: AssemblyVersion("5.0.15.*")]
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Loading…
Reference in New Issue
Block a user