6 Commits

Author SHA1 Message Date
Max Gortman 5eee925b75 set version to 0.4.8, update cake, fixed nuget reqs 2018-04-30 08:57:52 -07:00
Max Gortman f31c02e346 Fixes TlsHandler from operation, perf and compat POVs.
Motivation:
TlsHandler
Fix TlsHandler, optimize encryption / decryption wrt Write vs Flush semantics, optimize memory retention for sparse communication, adopt IByteBuffer.GetIoBuffers() in TlsHandler.

Modifications:
- TlsHandler is rewritten to use batch->copy->write approach instead of writing directly to SslStream in order to reduce overhead of framing / writing out everything separately.
- TlsHandler uses IByteBuffer.GetIoBuffers intead of direct array access increasing compatibility for non-array-backed buffers.
- TlsHandler and TlsHandler.MediationStream use Task semantics now when reading through SslStream.
- Extra: upgraded to NBench 2.2, xUnit 2.1.0.
- Extra: better portability for .NET Core support.

Result:
TlsHandler provides better framing and much better (x2+) performance (depends on application control of flushing).
TlsHandler operates properly in edge cases when more than one frame is accepted at once and if decrypted frame size is more than 4 KB.
TlsHandler holds only 256 byte buffer while waiting for more data to arrive off the wire.
Extra: DotNetty is almost .NET Core compatible.
2016-06-01 14:09:14 -07:00
Aaron Stannard 31864c6db0 added NBench support + End2End performance spec for TCP 2016-05-01 10:06:10 -07:00
Aaron Stannard e0180e36c8 fixed nuget 3.x packaging issues 2016-04-26 21:38:01 -07:00
Aaron Stannard 143bf039e7 fixed casing issue with Mono build script 2015-11-03 12:48:14 -08:00
Aaron Stannard 9cf6903b2a Created FAKE script for DotNetty
added a reference to .\src\SharedAssemblyInfo.cs in all release-able projects
added DotNetty nuspec files for each package
fixed XUnit test script
2015-08-12 22:08:54 -07:00