diff options
author | Martin Baulig <mabaul@microsoft.com> | 2018-05-09 01:21:46 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2018-05-09 01:21:46 +0300 |
commit | 89427f4938356bcd6e11dff6cb87fc92faa9a10b (patch) | |
tree | 433955ac759b479bf4d840a18ece60fb6227a57e /mcs/class/Mono.Security | |
parent | e891290932c82ed22e1ed37371bec4cc2fcd78c1 (diff) |
[System]: Free `ServicePoint` instances when they're no longer used. (#8562)
* [System]: Free ServicePoints when they're no longer used.
* Cleanup.
* Don't crash when ServicePoint.CloseConnectionGroup() is called after the ServicePoint has been freed.
* Remove the CloseConnectionGroupConcurrency() test.
This test was for a regression in a piece of code that no longer exist
and the test is poorly designed as it depends on precise timings.
It also attempts to make a web request to a non-exisiting server and
just ignores the error - it is unclear whether that is intentional or not.
Diffstat (limited to 'mcs/class/Mono.Security')
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs b/mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs index 977d433fc6c..d8f086f5cb7 100644 --- a/mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs +++ b/mcs/class/Mono.Security/Mono.Security.Interface/MonoTlsProviderFactory.cs @@ -178,8 +178,13 @@ namespace Mono.Security.Interface * * Negative version numbers are reserved for martin work branches. * + * Version History: + * + * - 1: everything up until May 2018 + * - 2: the new ServicePointScheduler changes have landed + * */ - internal const int InternalVersion = 1; + internal const int InternalVersion = 2; #endregion } |