Commit Graph

670 Commits

Author SHA1 Message Date
Gert Driesen 4dfa6f4d6e Tuning is always active now 2016-05-05 18:37:52 +02:00
drieseng a924a3ba03 Always use "tuning" code.
Avoid some NRE in Dispose.
2016-05-05 18:07:37 +02:00
drieseng 17f30f1135 Have Read(...) and ReadPartial(...) respect specified timeout in synchronous mode.
Make IsErrorResumable public.
2016-05-05 18:02:28 +02:00
drieseng dc327d7887 No longer unscribe from Session events in finalizer, as we wouldn't even get finalized if Session still had subscriptions for the current instance. 2016-05-03 21:35:57 +02:00
drieseng 28a1892dc2 Fixed some warnings. 2016-05-01 20:11:03 +02:00
drieseng e7ce24932a Add back partial modifier on Extensions. 2016-05-01 20:00:43 +02:00
drieseng a4d01b9fac Do not show warnings that we cannot fix without breaking the VS 2012 build. 2016-05-01 19:58:26 +02:00
drieseng 9334312d04 Avoid event-based memory leak in case of exception in Authenticate.
Simplify Dispose(bool).
2016-05-01 19:57:59 +02:00
drieseng 1ce21e4ed7 Use List.Count instead of Enumerable.Count(). 2016-05-01 19:55:37 +02:00
drieseng 1cfa14455b Fixed warnings. 2016-05-01 19:54:42 +02:00
drieseng eb044f58e6 Remove unused imports. 2016-05-01 19:53:00 +02:00
drieseng 81fb70798d Avoid possible NRE. 2016-05-01 19:51:33 +02:00
drieseng 063947483c Make ctor protected.
Remove this qualifier.
2016-05-01 19:51:15 +02:00
drieseng 06b5128916 Remove this qualifier. 2016-05-01 19:49:50 +02:00
drieseng 0f5d2f5ad4 Remove unused import. 2016-05-01 19:44:06 +02:00
drieseng 68b2267103 Avoid possible NRE. 2016-05-01 19:42:52 +02:00
drieseng 316ae12fdc Remove this qualifier. 2016-05-01 19:42:18 +02:00
drieseng 58086b9ef4 Fix bunch of warnings. 2016-05-01 18:21:23 +02:00
drieseng 868f981c4a Remove qualifier. 2016-05-01 17:00:18 +02:00
drieseng 780217820f Remove unused import. 2016-05-01 14:50:21 +02:00
drieseng bda8b0bcd9 Removed this qualifier. 2016-05-01 14:50:11 +02:00
drieseng 11f77bc177 Remove partial modifier. 2016-05-01 14:48:55 +02:00
drieseng e09239ef0e Avoid event-based memory leak when client is not disposing. 2016-05-01 14:47:46 +02:00
drieseng 9100a47ddd Avoid event-based memory leak when client is not disposing instance.
Remove partial modifier.
2016-05-01 14:44:00 +02:00
drieseng b6035077ac Avoid event-based memory leak when client is not disposing instance.
Removed extra whitespace, and partial modifier.
2016-05-01 14:38:50 +02:00
drieseng 3a48cde559 Remove this qualifier.
Simplify code.
2016-05-01 14:20:02 +02:00
drieseng 56d68870cb Avoid event-based memory leak. 2016-05-01 14:17:00 +02:00
drieseng 4659bb804a Avoid event-based memory leak when client is not disposing instance. 2016-05-01 14:07:42 +02:00
drieseng 2f5e131e08 Remove extra whitespace. 2016-05-01 11:51:01 +02:00
drieseng 936cfb7b6b Do not show warnings that we cannot fix without breaking the VS 2012 build. 2016-05-01 10:18:22 +02:00
drieseng 4b59e93d0c Fix event-based memory leaks when clients do not properly dispose instances. 2016-05-01 10:17:38 +02:00
drieseng d48bb74aef Refactor to move indication whether EndExecute has been invoked for a given IAsyncResult to the CommandAsyncResult class.
Revert unsubscribe from session events when finalizing SshCommand.
Do not create reply message for ExitStatusRequestInfo unless requested.
Modify PipeStream member to throw ObjectDisposedException when stream has been disposed.
2016-04-30 21:57:31 +02:00
drieseng 9fd0adf6bf Remove partial modifier on class.
Remove this qualifier.
2016-04-30 13:52:56 +02:00
drieseng 30308e63a5 Document changes and fixes. 2016-04-30 10:58:39 +02:00
drieseng 0fa8e1ec48 Fixed session event leak when SshCommand is not disposed. 2016-04-30 10:56:08 +02:00
drieseng 45ab50572d Removed copyright. 2016-04-29 21:57:56 +02:00
drieseng 706ab13247 Relicense as MIT 2016-04-29 21:50:29 +02:00
Gert Driesen f456cbad87 Complete rename of HashAlgorithmFactory source file and update package dependency. 2016-04-28 22:15:04 +02:00
drieseng ba8a30bce1 Added tests for GenerateRandom.
Updated project files after move and rename.
Fixed a few warning in HashAlgorithmFactory.
2016-04-28 22:01:41 +02:00
drieseng 96eb559c09 Move HashAlgorithmFactory to Abstractions, and rename it to CryptoAbstraction.
Class rename will follow.
2016-04-28 22:00:47 +02:00
drieseng 957aeaf0bc Remove unused imports. 2016-04-28 21:20:57 +02:00
drieseng 9c908ffc62 Fix GenerateRandom for UAP/UWP. 2016-04-28 21:19:40 +02:00
drieseng a6e0e006f8 Fixed CanRead and CanWrite in SocketAbstraction when socket is connected, and target framework does not support socket poll. 2016-04-26 21:41:34 +02:00
drieseng 5f1ee99e5e Fix API feature toggles. 2016-04-25 21:41:01 +02:00
drieseng a563634d24 Merge branch 'develop' of https://github.com/sshnet/SSH.NET.git 2016-04-25 19:48:26 +02:00
drieseng d1cd0f31c1 Temporarily commit nuget packages. 2016-04-24 17:51:37 +02:00
drieseng 9f9864e789 Improve socket related error handling.
Refactor to compile UWP project without using CoreFX.
2016-04-24 17:51:08 +02:00
drieseng 9019ce39b6 Rename Renci.Security.Cryptography to SshNet.Security.Cryptography.
For now, do not use CoreFX.
2016-04-24 17:47:57 +02:00
drieseng 1da035203c Added test project for WP 8.0.
Added few tests for abstraction classes.
2016-04-24 17:45:41 +02:00
drieseng 78167833a8 Added (incomplete) support for GetHostAddresses on UAP/UWP without relying on CoreFX (.NET Core). 2016-04-24 17:43:16 +02:00