Commit Graph

891 Commits

Author SHA1 Message Date
drieseng 76fdf58581 Improve slashdocs. 2016-07-27 12:52:50 +02:00
drieseng 563349d15a When the port is closing, first shutdown the send part of the socket.
Subsequently close/dispose the socket to ensure the blocking receive is interrupted.
2016-07-26 22:11:23 +02:00
drieseng 1e63a813cc Improved and corrected the slashdocs.
Fixed some typos.
2016-07-26 22:09:50 +02:00
drieseng bb4e719711 Added tests for SftpDownloadAsyncResult. 2016-07-26 19:53:00 +02:00
drieseng ae446661ef Use C# type. 2016-07-26 19:51:20 +02:00
drieseng 3598fcf3e4 Do not wrap exceptions in SshException. 2016-07-26 19:51:06 +02:00
drieseng db0300e00c Use C# types. 2016-07-26 19:25:47 +02:00
drieseng 1b28947a2d Attempt to harden test. 2016-07-26 14:44:10 +02:00
drieseng c0caf7dfa3 Harden tests. 2016-07-26 12:27:57 +02:00
drieseng 82c288b648 Harden test. 2016-07-24 22:53:21 +02:00
drieseng 590277f007 Harden test. 2016-07-24 22:33:44 +02:00
Gert Driesen 954db2fcc6 Merge pull request #50 from sshnet/master
Merge changes from master to develop branch.
2016-07-24 22:09:25 +02:00
Gert Driesen 177812fac9 Merge pull request #49 from sshnet/develop
Prepare for beta 3
2016-07-24 22:08:35 +02:00
drieseng d71baa1811 Use portable pdb.
Fixes issue #48
2016-07-24 22:03:38 +02:00
drieseng 75f6911f72 Implement tests for Length and MaxBufferLength. 2016-07-24 21:11:34 +02:00
drieseng 351e3c0afa Merge remote-tracking branch 'refs/remotes/origin/develop' 2016-07-24 10:22:00 +02:00
drieseng 81993af9d6 Disable null coalescing hint (as we need to support VS 2012 as well).
Code formatting updates.
2016-07-24 10:19:57 +02:00
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