Skip to content

Commit 6156d87

Browse files
committed
Upgraded SimplSockets
1 parent 0b0fa74 commit 6156d87

File tree

8 files changed

+12
-14
lines changed

8 files changed

+12
-14
lines changed

Dache.CacheHost/Communication/CacheHostServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public CacheHostServer(IMemCache memCache, ITagRoutingTable tagRoutingTable, ILo
102102
_localEndPoint = new IPEndPoint(IPAddress.Any, port);
103103

104104
// Define the server
105-
_server = new SimplSocketServer(() => new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp), messageBufferSize, maximumConnections);
105+
_server = new SimplSocketServer(() => new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp), messageBufferSize, 10000 /* TODO: make a setting */, maximumConnections);
106106

107107
// Hook into received message event
108108
_server.MessageReceived += ReceiveMessage;

Dache.CacheHost/Dache.CacheHost.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
<Reference Include="SharpMemoryCache">
4949
<HintPath>..\packages\SharpMemoryCache.1.0.0\lib\SharpMemoryCache.dll</HintPath>
5050
</Reference>
51-
<Reference Include="SimplSockets, Version=1.3.0.42869, Culture=neutral, processorArchitecture=MSIL">
51+
<Reference Include="SimplSockets, Version=1.3.0.1885, Culture=neutral, processorArchitecture=MSIL">
5252
<SpecificVersion>False</SpecificVersion>
53-
<HintPath>..\packages\SimplSockets.1.3.1\lib\SimplSockets.dll</HintPath>
53+
<HintPath>..\packages\SimplSockets.1.3.3\lib\SimplSockets.dll</HintPath>
5454
</Reference>
5555
<Reference Include="System" />
5656
<Reference Include="System.Core" />

Dache.CacheHost/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="SharpMemoryCache" version="1.0.0" targetFramework="net45" />
4-
<package id="SimplSockets" version="1.3.1" targetFramework="net40" />
4+
<package id="SimplSockets" version="1.3.3" targetFramework="net40" />
55
</packages>

Dache.Client/Dache.Client.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
<Reference Include="SharpMemoryCache">
4141
<HintPath>..\packages\SharpMemoryCache.1.0.0\lib\SharpMemoryCache.dll</HintPath>
4242
</Reference>
43-
<Reference Include="SimplSockets, Version=1.3.0.42869, Culture=neutral, processorArchitecture=MSIL">
43+
<Reference Include="SimplSockets, Version=1.3.0.1885, Culture=neutral, processorArchitecture=MSIL">
4444
<SpecificVersion>False</SpecificVersion>
45-
<HintPath>..\packages\SimplSockets.1.3.1\lib\SimplSockets.dll</HintPath>
45+
<HintPath>..\packages\SimplSockets.1.3.3\lib\SimplSockets.dll</HintPath>
4646
</Reference>
4747
<Reference Include="System" />
4848
<Reference Include="System.configuration" />

Dache.Client/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="SharpMemoryCache" version="1.0.0" targetFramework="net45" />
4-
<package id="SimplSockets" version="1.3.1" targetFramework="net40" />
4+
<package id="SimplSockets" version="1.3.3" targetFramework="net40" />
55
</packages>

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ general public.
3030
You may choose which license you'd like to use at any time, but must
3131
purchase a Commercial Dache License if you use Dache in a closed source
3232
project. If you want to commercially distribute software which uses
33-
Dache and cannot confirm to the GNU General Public License Version 3,
33+
Dache and cannot conform to the GNU General Public License Version 3,
3434
contact us at <mailto:info@dache.io> to discuss a Commercial Dache
3535
License.
3636

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ VERSION INFORMATION
4949
============================================
5050

5151

52-
1.4.2
52+
1.4.3
5353
------------------
5454

55-
- Upgraded to new version of SimplSockets. This new version fixed numerous crashes, hangs, and communication problems. Dache should be significantly more reliable now with better uptimes.
55+
- Upgraded to new version of SimplSockets. This new version fixes a rare hang.
5656

57-
- When hosting the Dache Server in your own process, you may now configure it programmatically instead of having to use a configuration file. There is a new constructor to facilitate this option.
58-
59-
- Various minor edge case bug fixes
57+
- Fixed bug in DacheOutputCacheProvider and DacheMvcChildActionCache
6058

6159

6260
INSTALLATION INSTRUCTIONS

SharedAssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
// You can specify all the values or you can default the Build and Revision Numbers
2222
// by using the '*' as shown below:
2323
// [assembly: AssemblyVersion("1.0.*")]
24-
[assembly: AssemblyVersion("1.4.2.*")]
24+
[assembly: AssemblyVersion("1.4.3.*")]
2525
// For unit testing
2626
[assembly: InternalsVisibleTo("Dache.Tests")]

0 commit comments

Comments
 (0)