637 Commits

Author SHA1 Message Date
drieseng 532dac404d Harden test. 2016-07-23 12:14:15 +02:00
drieseng 1d5d58e17c Rename HashAlgorithmFactory to CryptoAbstraction, and move it to the Renci.SshNet.Abstractions namespace. 2016-07-23 10:49:21 +02:00
drieseng 4d6a868fd2 Mark GetOrderedAuthenticationMethods static. 2016-07-23 10:44:43 +02:00
drieseng a673c1f4f0 Remove unused imports. 2016-07-23 10:22:28 +02:00
drieseng 1ac19b86a0 Make methods static where possible. 2016-07-23 10:22:08 +02:00
drieseng 7ccee44e16 Remove partial modifiers. 2016-07-23 10:20:14 +02:00
drieseng 88cbfad1b8 Remove unnecessary byte casts. 2016-07-23 10:17:37 +02:00
drieseng 8749441ec8 Harden tests. 2016-07-23 10:00:34 +02:00
drieseng 4033d3d0c1 Attempt to harden test. 2016-07-22 22:36:25 +02:00
drieseng e6b0e33727 Harden test. 2016-07-22 21:06:30 +02:00
drieseng a148ca1c50 Simply close/dispose socket. 2016-07-22 20:25:01 +02:00
drieseng 0a8673bf0c Ignore ObjectDisposedException in AcceptAsync while stopping or stopped. 2016-07-22 20:12:42 +02:00
drieseng 959ec3240f Ignore bunch of placeholder tests. 2016-07-22 19:46:27 +02:00
drieseng ab5933fbdf Increment signalCount before signaling. 2016-07-22 17:38:35 +02:00
drieseng 90145be344 Removed some (conditional) debug code.
Introduce (internal) ForwardedPortStatus to control state transition.
Align ForwardedPortDynamic and ForwardedPortLocal.
2016-07-22 13:03:04 +02:00
drieseng cb1d3b41f7 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-07-17 22:01:21 +02:00
drieseng bd337ff64a Added PipeStream to .NET 3.5 test project. 2016-07-17 22:01:07 +02:00
drieseng d7b1106151 Harden PipeStream tests. 2016-07-17 21:58:06 +02:00
Gert Driesen cbf182064f Added CountdownEvent and corresponding test. 2016-07-17 21:40:33 +02:00
drieseng 3f73f36f9d Added CountdownEvent and corresponding symbol where applicable. 2016-07-17 21:25:51 +02:00
drieseng 18c1b79589 Use CountDownEvent to wait for pending requests to finish instead of using a while/sleep approach.
Reuse SocketAsyncEventArgs for accepting connections in our EAP-based socket code.
2016-07-17 20:54:20 +02:00
drieseng beacea6727 Remove unused imports. 2016-07-17 15:00:02 +02:00
drieseng 637c40d7f7 Remove Attribute suffix. 2016-07-16 10:50:51 +02:00
drieseng ece92bda7c Properly handle ObjectDisposedException when invoking EndReceive. 2016-07-16 10:49:50 +02:00
drieseng 23f95f4190 Eliminate more possible race conditions. 2016-07-15 22:40:34 +02:00
drieseng 521a174f59 Tag some more tests as long running or performance related. 2016-07-15 21:46:35 +02:00
drieseng c2c6e6d02f Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-07-15 21:06:31 +02:00
drieseng 32bee2de6b Mark some tests as 'LongRunning'.
Do not execute tests marked 'LongRunning' on AppVeyor.
2016-07-15 21:06:24 +02:00
drieseng 9a281a91f7 Reduce race conditions on stop/dispose. 2016-07-15 21:05:14 +02:00
Gert Driesen d9f8417026 Update to v5.2.0 of Microsoft.NETCore.UniversalWindowsPlatform 2016-07-14 22:54:52 +02:00
Gert Driesen 7c929975b9 Do not emit debug symbols in release config.
Treat warnings as errors.
2016-07-09 20:13:14 +02:00
Gert Driesen 48a87ac594 Update VS 2012 projects to v1.2.0 of our crypto assembly. 2016-07-09 19:28:10 +02:00
Gert Driesen 5354e5031c Removed unused assembly references. 2016-07-09 19:27:46 +02:00
Gert Driesen c65f7bc08f Added FEATURE_DIRECTORYINFO_ENUMERATEFILES in release config, and removed SILVERLIGHT symbol. 2016-07-09 19:19:26 +02:00
drieseng 8ae915271b Update SshNet.Security.Cryptography v1.2.0.
Added .NETStandard 1.3 to nuspec.
Prepare for 2016.0.0-beta3.
2016-07-09 17:29:38 +02:00
Gert Driesen 07c225016e Update VS2012 projects to SshNet.Security.Cryptography v1.1.0. 2016-07-02 20:20:36 +02:00
Gert Driesen 0993749c97 Introduce FEATURE_REGEX_COMPILE symbol
Update VS2012 projects to SshNet.Security.Cryptography v1.1.0.
2016-07-02 20:20:36 +02:00
drieseng 9e042df0c4 Enable compiled regex on UAP 10.0. 2016-07-02 19:45:28 +02:00
drieseng 6cf058a312 Add support for .NET Core 1.0 (.NETStandard 1.3).
Introduce FileSystemAbstraction.
2016-07-02 16:31:37 +02:00
drieseng 6836cff7b8 Sync APM and TAP implementation. 2016-07-02 16:28:25 +02:00
drieseng 0d569fb260 Remove conditional override of IsSingleByte as we'll only define the ASCIIEncoding class on target frameworks that do not support this override. 2016-07-02 16:25:28 +02:00
drieseng eb56b0fae8 Also use Interlocked.Increment(ref long) on Windows Phone. 2016-07-02 16:24:22 +02:00
drieseng ad5675c5dd Eliminate the length check.
Minor performance improvement.
2016-06-26 18:44:36 +02:00
drieseng b86eba0d7c Harden PipeStream tests. 2016-06-25 12:58:08 +02:00
drieseng f3f0239162 Use static methods where possible. 2016-06-25 12:44:45 +02:00
drieseng 21dd66c1cc Update test as PipeStream.Flush is no longer invoked after every write, and as such PipeStream.ReadByte is blocking (unless stream is closed).
PipeStream.ReadByte returning -1 is now considered an error (stream closed).
2016-06-25 12:42:18 +02:00
drieseng aa332344a9 No longer flush PipeStream after every write., allowing us to eliminate polling with a sleep between each poll. Fixes #21.
Always use ServiceFactory to create PipeStream instances.
2016-06-25 11:21:51 +02:00
drieseng 6778cce6ca Modify PipeStream to interrupt blocking read when stream is closed/disposed.
Added tests for PipeStream.
2016-06-25 11:13:56 +02:00
drieseng c6fca9de78 Rephrase slashdocs. 2016-06-25 10:41:46 +02:00
drieseng 1fb0f3bac0 MemberCanBeMadeStatic is now a suggestion. 2016-06-23 23:27:56 +02:00