Skip to content

Commit

Permalink
Upgraded SimplSockets
Browse files Browse the repository at this point in the history
  • Loading branch information
haneytron committed Nov 12, 2014
1 parent 0b0fa74 commit 6156d87
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Dache.CacheHost/Communication/CacheHostServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public CacheHostServer(IMemCache memCache, ITagRoutingTable tagRoutingTable, ILo
_localEndPoint = new IPEndPoint(IPAddress.Any, port);

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

// Hook into received message event
_server.MessageReceived += ReceiveMessage;
Expand Down
4 changes: 2 additions & 2 deletions Dache.CacheHost/Dache.CacheHost.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
<Reference Include="SharpMemoryCache">
<HintPath>..\packages\SharpMemoryCache.1.0.0\lib\SharpMemoryCache.dll</HintPath>
</Reference>
<Reference Include="SimplSockets, Version=1.3.0.42869, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="SimplSockets, Version=1.3.0.1885, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\SimplSockets.1.3.1\lib\SimplSockets.dll</HintPath>
<HintPath>..\packages\SimplSockets.1.3.3\lib\SimplSockets.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
2 changes: 1 addition & 1 deletion Dache.CacheHost/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="SharpMemoryCache" version="1.0.0" targetFramework="net45" />
<package id="SimplSockets" version="1.3.1" targetFramework="net40" />
<package id="SimplSockets" version="1.3.3" targetFramework="net40" />
</packages>
4 changes: 2 additions & 2 deletions Dache.Client/Dache.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
<Reference Include="SharpMemoryCache">
<HintPath>..\packages\SharpMemoryCache.1.0.0\lib\SharpMemoryCache.dll</HintPath>
</Reference>
<Reference Include="SimplSockets, Version=1.3.0.42869, Culture=neutral, processorArchitecture=MSIL">
<Reference Include="SimplSockets, Version=1.3.0.1885, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\SimplSockets.1.3.1\lib\SimplSockets.dll</HintPath>
<HintPath>..\packages\SimplSockets.1.3.3\lib\SimplSockets.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
Expand Down
2 changes: 1 addition & 1 deletion Dache.Client/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="SharpMemoryCache" version="1.0.0" targetFramework="net45" />
<package id="SimplSockets" version="1.3.1" targetFramework="net40" />
<package id="SimplSockets" version="1.3.3" targetFramework="net40" />
</packages>
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ general public.
You may choose which license you'd like to use at any time, but must
purchase a Commercial Dache License if you use Dache in a closed source
project. If you want to commercially distribute software which uses
Dache and cannot confirm to the GNU General Public License Version 3,
Dache and cannot conform to the GNU General Public License Version 3,
contact us at <mailto:[email protected]> to discuss a Commercial Dache
License.

Expand Down
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,12 @@ VERSION INFORMATION
============================================


1.4.2
1.4.3
------------------

- 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.
- Upgraded to new version of SimplSockets. This new version fixes a rare hang.

- 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.

- Various minor edge case bug fixes
- Fixed bug in DacheOutputCacheProvider and DacheMvcChildActionCache


INSTALLATION INSTRUCTIONS
Expand Down
2 changes: 1 addition & 1 deletion SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.2.*")]
[assembly: AssemblyVersion("1.4.3.*")]
// For unit testing
[assembly: InternalsVisibleTo("Dache.Tests")]

0 comments on commit 6156d87

Please sign in to comment.