Commit Graph

873 Commits

Author SHA1 Message Date
drieseng 65bd07259a Stop listener before waiting for channels to close.
Remove extra exception handling.
2016-07-24 10:18:10 +02:00
drieseng 32becde5ad Mark port started before StartAccept because StartAccept is a noop when the port is not started. 2016-07-24 10:12:15 +02:00
drieseng f88509ed56 Ensure to mark port stopped when starting fails. 2016-07-24 10:05:51 +02:00
drieseng 5498b8f74a Remove extra exception handling.
Stop listener first, before we wait for open channels to close.
2016-07-24 09:48:54 +02:00
drieseng 44c21ca7af Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-07-24 09:37:48 +02:00
drieseng 8c5b0e1921 Harden test. 2016-07-24 09:37:40 +02:00
Gert Driesen a1e20146c6 Added ForwardedPortStatus to VS 2012 projects. 2016-07-23 22:21:08 +02:00
drieseng 5048498bb1 Removed some debug code. 2016-07-23 19:33:00 +02:00
drieseng e1a557861c Correctly define the FEATURE_SOCKET_SETSOCKETOPTION symbol.
Use Socket.NoDelay property instead of the NoDelay option.
No longer use the DontLinger option as this is the default anyway.
2016-07-23 19:27:02 +02:00
drieseng 23bb333496 Remove unused import. 2016-07-23 19:11:17 +02:00
drieseng 6c6c762caa Use as instead of is and cast. 2016-07-23 19:09:31 +02:00
drieseng 59923ceca0 Added tests and some slashdocs for ForwardedPortStatus. 2016-07-23 17:58:42 +02:00
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 aa6792fead Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-07-22 19:46:39 +02:00
drieseng 959ec3240f Ignore bunch of placeholder tests. 2016-07-22 19:46:27 +02:00
drieseng afeeeb310d Ignore bunch of placeholder tests. 2016-07-22 19:20:10 +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 fbc3cc0474 Fix solution file name 2016-07-14 22:58:26 +02:00
Gert Driesen 52527aef9d Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-14 22:56:00 +02:00
Gert Driesen d9f8417026 Update to v5.2.0 of Microsoft.NETCore.UniversalWindowsPlatform 2016-07-14 22:54:52 +02:00
Gert Driesen c3e7628f92 Explicitly specify solution for which to perform nuget restore. 2016-07-14 22:54:39 +02:00
Gert Driesen 054f1a8582 Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-14 21:21:46 +02:00
Gert Driesen 06c83f0cce Merge remote-tracking branch 'refs/remotes/origin/develop' 2016-07-14 21:20:09 +02:00
Gert Driesen ad0900931a Merge remote-tracking branch 'refs/remotes/origin/master' into develop 2016-07-14 21:14:08 +02:00