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();
|
||||
//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;
|
||||
byte[] buffer = aChunk.data;
|
||||
@ -184,16 +188,16 @@ namespace LS100PortProxy
|
||||
}
|
||||
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..
|
||||
lock (_connections)
|
||||
{
|
||||
connection.chunks.Clear();
|
||||
}
|
||||
break;
|
||||
// break;
|
||||
}
|
||||
|
||||
Thread.Sleep(50);
|
||||
Thread.Sleep(500);
|
||||
}
|
||||
}
|
||||
catch (SocketException exc)
|
||||
|
||||
@ -35,8 +35,8 @@
|
||||
<MinimumRequiredVersion>3.5.1.0</MinimumRequiredVersion>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>publish.html</WebPage>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>5.0.14.%2a</ApplicationVersion>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>5.0.15.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
|
||||
Binary file not shown.
@ -2,6 +2,6 @@
|
||||
|
||||
[assembly: AssemblyCompany("schick Informatik")]
|
||||
[assembly: AssemblyProduct("BSMD NSW interface")]
|
||||
[assembly: AssemblyInformationalVersion("5.0.14")]
|
||||
[assembly: AssemblyInformationalVersion("5.0.15")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2014-2018 schick Informatik")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
@ -1,4 +1,4 @@
|
||||
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