A server library for quickly building smtp/memcache transport protocol communication.

Install-Package MindTouch.Clacks.Server -Version
dotnet add package MindTouch.Clacks.Server --version
<PackageReference Include="MindTouch.Clacks.Server" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MindTouch.Clacks.Server --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* Fixed a connection issue in the Client when running on mono

* using log4net logger directly
* distributing as NuGet package

* eliminating some uncaught exceptions in command handling pipeline
* sync multi command fix (avoid infinite response loop)

* Replaced TimeoutException with SocketException(10060) which is the more appropriate socket timeout exception

* Replaced IStatsCollector with IClacksInstrumentation for better hooks into current state of the server
* Fixed various issues that could cause errors under load
 * New client and server request processing logic
 * Fixed bad Socket.Listen queue size
* ConnectionPool
 * most recently used sockets are now added to the front of the available queue, since they have a higher likelyhood of still being connected
 * do not check Connected on socket on each pool fetch, since it has significant overhead
 * Better Connected logic (i.e. polls socket, rather than just use the socket's Connected field)
 * When the pool is exhausted, incoming requests for sockets are now queue'd for ConnectTimeout rather than failing immediately
* ClackClient
 * Added auto-reconnect/retry on request failure (assumes stateless server, can be turned off)
 * now requires an IConnectionPool, so while host/port & IPEndpoint Ctor's still exist, the ISocket Ctor is gone
* Added the Client's endpoint to server's Request object

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated 399 12/28/2016 366 11/17/2016 334 8/18/2016 489 5/21/2015 383 4/15/2015 371 4/6/2015