Commit Graph

  • 51bd8fa6fd Removed IsEof from SftpDataResponse. Gert Driesen 2017-02-03 18:43:50 +01:00
  • 774951e0c4 Do not initialize fields with default values. Gert Driesen 2017-02-03 16:17:21 +01:00
  • eb39b69b34 Revert "Do not initialize fields to default values." Gert Driesen 2017-02-03 16:16:10 +01:00
  • 54fbd8f5ba Do not initialize fields to default values. Gert Driesen 2017-02-03 16:15:24 +01:00
  • 8a5d8edb70 Removed _ownsHandle field. Gert Driesen 2017-02-03 16:13:49 +01:00
  • 94d0230608 Removed IsAsync property. Gert Driesen 2017-02-03 16:12:41 +01:00
  • 6ebb978bac Minor slashdoc (syntax/format) updates. Gert Driesen 2017-02-03 16:02:55 +01:00
  • 9f87bc3f26 Compare server window size with uint zero. Gert Driesen 2017-02-03 10:57:29 +01:00
  • a51e82fcb8 Fix remaning tests. Gert Driesen 2017-02-02 20:09:35 +01:00
  • c7c6e87799 Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop Gert Driesen 2017-02-02 19:36:34 +01:00
  • e4a1a5daca Fix some more tests. Gert Driesen 2017-02-02 19:36:30 +01:00
  • 61b415a31f Fix test. Gert Driesen 2017-02-02 19:20:12 +01:00
  • 61d45b12aa Add ISftpFileReader to remaining project files. Gert Driesen 2017-02-02 19:12:09 +01:00
  • cd4fad7f67 As of VS 2017 RC3, the sources files in the project directory are implicitly included. Gert Driesen 2017-02-02 18:22:14 +01:00
  • 3f78ad3002 Add CreateFileReader method on SftpSession in which we use the size of the file to determine the maximum pending reads to allow, and calculate the size of individual chunks. Add CreateSftpFileReader method to ServiceFactory. Add nullOnError argument to SftpSession.RequestFStat. Gert Driesen 2017-02-02 18:16:07 +01:00
  • 1f2c7f2547 Do not use reported file size to determine whether read-ahead should be stopped. Only use file size for optimization. Gert Driesen 2017-02-02 18:11:55 +01:00
  • 807e9fc14e Optimize handling response actions. Gert Driesen 2017-02-02 17:18:51 +01:00
  • 191b704691 Eliminate extra String.Format. Gert Driesen 2017-02-02 10:17:25 +01:00
  • ccefd706a3 Set C# language version to 5 for release and debug configuration. Gert Driesen 2017-01-29 20:21:06 +01:00
  • e937c9d841 Improve exception handler for SftpFileReader. Add more tests (WIP). Gert Driesen 2017-01-29 19:38:19 +01:00
  • 4e801fb354 Specify C# language version. Gert Driesen 2017-01-29 19:37:22 +01:00
  • 5b3e64e368 Harden read-ahead by relying Throw SshException when read has completed. Identify more tasks that need to be completed before the implementation can be considered done. Gert Driesen 2017-01-24 21:25:12 +01:00
  • f29b4826a3 Use PulseAll instead of Pulse as we want to signal all threads. Gert Driesen 2017-01-24 18:20:58 +01:00
  • 9f63730470 Sync project files, and remove stray CWL. Gert Driesen 2017-01-22 20:45:45 +01:00
  • fe27ec31e1 Added BeginRead/EndRead to ISftpSession and SftpSession. Draft of read-ahead implementation for DownloadFile and BeginDownloadFile overloads of SftpClient. Gert Driesen 2017-01-22 19:53:56 +01:00
  • 54215ffd74 Remove empty line. Gert Driesen 2017-01-22 19:49:54 +01:00
  • e643378cfc Added EndInvoke(TimeSpan timeout). Gert Driesen 2017-01-22 19:49:40 +01:00
  • 31e204b634 Modify assert order to first get details of exception. Gert Driesen 2017-01-22 16:01:52 +01:00
  • 710aa37bd5 Do not use Socket.Select on .NET Framework 3.5 as will not block when -1 is specified as timeout. More information is available here: https://support.microsoft.com/kb/2615314 Gert Driesen 2017-01-22 15:46:57 +01:00
  • 44f3f03873 One more try... Gert Driesen 2017-01-22 15:01:42 +01:00
  • b63a0ea524 Revert "Attempt to run tests against .NET 3.5 and 4.0." Gert Driesen 2017-01-22 14:52:07 +01:00
  • b6ee090ba5 Attempt to run tests against .NET 3.5 and 4.0. Gert Driesen 2017-01-22 14:23:20 +01:00
  • 0baac6aebd Attempt to run both .NET 4.0 and .NET 3.5 tests. Gert Driesen 2017-01-22 11:38:25 +01:00
  • 34b7ce24e0 Attempt to run both .NET 4.0 and .NET 3.5 tests. Gert Driesen 2017-01-22 11:38:25 +01:00
  • 7b55ec02f4 Also run .NET 3.5 tests. Gert Driesen 2017-01-22 11:26:27 +01:00
  • 32a9f076c1 Merge branch 'develop' of https://github.com/sshnet/SSH.NET into develop Gert Driesen 2017-01-22 11:12:45 +01:00
  • 0b04aaa79d Add more tests for .NET 3.5 test project. Gert Driesen 2017-01-22 11:12:37 +01:00
  • 9f78de8a89 Merge pull request #150 from hifi/mono-warn Gert Driesen 2017-01-16 21:34:10 +01:00
  • ffda76a15b Remove unused variables, fixes mcs warnings on Mono Toni Spets 2017-01-12 18:00:29 +02:00
  • 3f28d8c175 Revert changes in BigInteger.Random(int bitLength) from commit 1b881f5df3. Fixes issue #147. Gert Driesen 2017-01-08 15:15:59 +01:00
  • d95276d861 Document the fact that we now use VS 2017 to build the .NET Standard 1.3 flavor of SSH.NET. Gert Driesen 2017-01-04 18:51:09 +01:00
  • 9747d9caef Revert "Add ClientIP to client info to allow select client IP that should be used for connection (#132)" Gert Driesen 2016-12-30 13:14:35 +01:00
  • 6d8f545bb4 Introduce VS 2017 solution and MSBuild-based .NET Core project Gert Driesen 2016-12-29 21:27:19 +01:00
  • 78679a3c30 Add ClientIP to client info to allow select client IP that should be used for connection (#132) oleg 2016-12-20 13:10:50 -05:00
  • 5b724e5001 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git oleg 2016-12-20 11:40:03 -05:00
  • 1b881f5df3 Change how clientExchangeValue is calculated (#130) oleg 2016-12-20 11:39:51 -05:00
  • c0407a29de Merge remote-tracking branch 'refs/remotes/origin/master' into develop drieseng 2016-12-16 13:03:22 +01:00
  • 7da9b86968 Merge branch 'master' of https://github.com/sshnet/SSH.NET.git drieseng 2016-12-16 13:02:44 +01:00
  • 650e6ab8f2 Remove unused imports. drieseng 2016-12-16 13:02:37 +01:00
  • cea61f0573 Eliminate use of Linq. drieseng 2016-12-16 12:33:34 +01:00
  • d2fa88647b Update nuspec for 2016.1.0-beta1. 2016.1.0-beta1 Gert Driesen 2016-12-14 21:13:57 +01:00
  • 496eba2593 Update version info for 2016.1.0-beta1. drieseng 2016-12-14 20:56:08 +01:00
  • 35ab7a98af Merge pull request #131 from sshnet/develop Gert Driesen 2016-12-14 20:53:32 +01:00
  • 9511c22abe Prepare for 2016.1.0-beta1. drieseng 2016-12-14 20:49:53 +01:00
  • 84d1291519 Use LastWriteTimeUtc and LastAccessTimeUtc of the local directory that corresponds with the remote path. Fixes issue #129. drieseng 2016-12-12 22:12:25 +01:00
  • e83486c391 Do not create extra directory level when uploading the content of a directory. Fixes issue #128. drieseng 2016-12-12 21:51:38 +01:00
  • 0ac28d26cb Removed obsolete tracing. Removed timestamps from log messages (as the .NET tracing infrastructure already provides support for this). drieseng 2016-12-12 16:33:56 +01:00
  • c7cc92bbd6 Remove commented out code. drieseng 2016-12-12 16:31:13 +01:00
  • 1dd79b2008 Add support for binary distribution zip file. Rename help file. Gert Driesen 2016-12-09 20:03:27 +01:00
  • 8071d00098 Removed obsolete reference to Microsoft.CSharp. Gert Driesen 2016-12-09 17:37:41 +01:00
  • 18613b2e6e Added timestamp to tracing. drieseng 2016-12-02 18:18:03 +01:00
  • a6f0d27fbe Removed extra tracing. drieseng 2016-12-02 18:17:18 +01:00
  • f52d81ad1e Added more tracing to troubleshoot issue #112. drieseng 2016-11-28 22:08:09 +01:00
  • 5f6c3b0bc7 Fix SL build. drieseng 2016-11-03 21:30:17 +01:00
  • 13fff36135 Added support domain name address type for SOCKS5. Fixes issue #98. drieseng 2016-11-03 21:23:43 +01:00
  • 5a1e469bb9 No longer throw ObjectDisposedException in Stop() when port is disposed. drieseng 2016-11-03 20:42:46 +01:00
  • f50b9f18a6 Do not allow simultaneously sending of a packet and disposing of the session. Fixes variant of issue #32. drieseng 2016-10-06 21:23:52 +02:00
  • 009fbc39eb Revert "Attempt to use MSBuild project file to build." drieseng 2016-10-04 21:19:53 +02:00
  • 1e4b0f1ee1 Attempt to use MSBuild project file to build. drieseng 2016-10-04 21:11:17 +02:00
  • 7a474e6472 Remove CancelConnectAsync - which is .NET 4.0+ only - as dispose of the socket has the same effect. drieseng 2016-10-03 21:03:10 +02:00
  • 93874699e4 Cancel async connection request when timeout has elapsed. Dispose all managed resources. Fixes issue #87. drieseng 2016-09-22 21:10:12 +02:00
  • 1711d5a3b5 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git drieseng 2016-09-21 21:30:06 +02:00
  • 852efaf9f9 Modify SocketAbstraction.CanWrite to return false when socket is null. drieseng 2016-09-21 21:29:59 +02:00
  • 647d3ffd3f Remove obsolete partial Session classes and sync project files. Gert Driesen 2016-09-19 21:59:32 +02:00
  • 939325ee64 Merge pull request #88 from sshnet/master Gert Driesen 2016-09-19 21:36:11 +02:00
  • cddeed3a7a Fixed warning. drieseng 2016-09-19 21:34:59 +02:00
  • a6eedcb4f4 Session is no longer partial. drieseng 2016-09-18 19:27:15 +02:00
  • c0b22818c2 Sync project files with Session simplification. drieseng 2016-09-18 19:26:36 +02:00
  • ee9f0f748a SocketExceptions that are thrown during shut down of the socket should not bubble up. Fixes PR #86. drieseng 2016-09-18 19:17:04 +02:00
  • f9773a6786 Refactor out use of dynamic types, and reflection for processing received SSH messages. drieseng 2016-09-18 19:08:12 +02:00
  • 97ed0ddb1c Dereference socket instance field before disposing it. drieseng 2016-09-18 11:16:44 +02:00
  • 3e0100272c Dereference waithandle instance field before disposing it. drieseng 2016-09-18 11:16:10 +02:00
  • 9f67d3d7eb Log raised exception. drieseng 2016-09-17 09:39:38 +02:00
  • 6237dd4982 Move IsSocketConnected to Session.cs. Move HandleMessageCore to Session.cs, and use FEATURE_DYNAMIC_TYPE conditional compilation symbol to use dynamic code. drieseng 2016-09-15 21:23:58 +02:00
  • 536f9bd2a4 Use Socket.IsConnected() extension method. drieseng 2016-09-15 21:21:56 +02:00
  • 9e8ce4a868 Modify ReceiveMessage to return null when connection is closed. Added TrySocketRead method that returns 0 (zeo) when connection is closed. Remove SocketRead(int length) overload. drieseng 2016-09-13 21:26:49 +02:00
  • b3d24ef8bd Harden dispose. drieseng 2016-09-13 21:19:23 +02:00
  • 7f2edeb55f Fix "randomness". drieseng 2016-09-12 21:40:28 +02:00
  • 33c834ddec Sync .NET 3.5 test project file with .NET 4.0 test project. drieseng 2016-09-12 21:18:52 +02:00
  • ad596e83c0 Remove clearing of buffer. drieseng 2016-09-11 21:29:30 +02:00
  • edde414ef3 Since Dispose now also invokes Disconnect, we no longer need to explicitly invoke Disconnect. drieseng 2016-09-11 21:09:50 +02:00
  • 3bd1b4eec0 Modify tests to take into account fact that we no longer explicitly disconnect the SftpSession, but instead immediately dispose it. drieseng 2016-09-11 20:46:54 +02:00
  • 35c9ecfd56 Revert to previous code as its a little more clear. drieseng 2016-09-11 20:45:51 +02:00
  • 3cf6979943 Avoid NRE when disconnecting or disposing. drieseng 2016-09-11 20:21:27 +02:00
  • 76fdef9d72 Avoid NRE when disposing. drieseng 2016-09-11 20:20:55 +02:00
  • b2d95d2b7f Dereference _channel first. drieseng 2016-09-11 20:20:20 +02:00
  • 800fd3fe99 Use c# type keywords. drieseng 2016-09-10 21:15:33 +02:00
  • ba59196821 Minor improvements. drieseng 2016-09-10 21:11:40 +02:00
  • 3808aae801 Avoid extra IsOpen invocation when attempting to open channel session. drieseng 2016-09-10 19:40:09 +02:00
  • bb968f5550 Minor doc corrections. drieseng 2016-09-10 19:38:57 +02:00