Commit Graph
1227 Commits
Author SHA1 Message Date
Stephen Toub d59bb4ad4f Harden several SocketsHttpHandler streams against unexpected Dispose (dotnet/corefx#37299)
A few tweaks:
- We hand out the ChunkedEncodingWriteStream and ContentLengthWriteStream to an HttpContent.SerializeToStreamAsync.  If that user code disposes of the Stream, then we end up null ref'ing when we try to finish the processing.  We should instead throw a more descriptive error about the misuse.
- Make the non-pooled response streams slightly more robust against concurrent disposal (which is not a supported use, but it happens).

Commit migrated from https://github.com/dotnet/corefx/commit/422565673deb849b42f656f4a68bec791ee4bed9
2019-04-30 14:58:25 -04:00
Stephen Toub 484b1c373d Clean up HTTP/2 protocol exception handling (dotnet/corefx#37223)
* Clean up HTTP/2 protocol exception handling

- Propagate the GOAWAY and RST_STREAM error codes to the calling code via an exception.
- Propagate to the Http2Stream exceptions incurred in the Http2Connection and that result in an Abort.
- Don't Dispose of the Http2Stream before we try to Cancel it.
- Make Http2ProtocolException serializable, as we generally do that for all of our exception types.
- Add tests that verify sufficient HTTP/2 protocol details are in the exception messages.
- Clean up the error message for the exception.
- Separate the error code and exception into their own files.
- Leave Http2ProtocolException internal for now; we can expose it publicly when we design the all-up public error model for HttpClient.

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/7237da089c09531c36a2110a3bdd9ccaf7c05d77
2019-04-29 13:51:29 -04:00
David Shulman f5f0e003f1 Add proxy environment variables support for Windows (dotnet/corefx#37238)
Changed the Windows version of SocketsHttpHandler so that it will honor the same environment
variables similar to the Linux and OSX versions. If the environment variables are not set
then it reverts back to the Windows WinInet/IE settings behavior.

I added several kinds of unit and end-to-end tests to verify the SystemProxyInfo class is
making the correct choice for all the different platforms regarding whether the
HttpEnvironmentProxy or platform proxy (HttpSystemProxy for Windows and MacProxy for OSX)
is used.

Fixes dotnet/corefx#37187


Commit migrated from https://github.com/dotnet/corefx/commit/4f27d0f84c17850ef02ea7b330908fddcdf73c86
2019-04-27 17:06:35 -07:00
Stephen Toub 32191265f4 Disable sporadically failing HttpClientHandler test (dotnet/corefx#37253)
Commit migrated from https://github.com/dotnet/corefx/commit/610fa286999c78b841e17ea0c301c0986426635d
2019-04-27 17:11:53 -04:00
Tomas Weinfurt f9cf895271 deal with empty response headers for HTTP2 (dotnet/corefx#37160)
* deal with empty response headers for HTTP2

* fix test for http1.1

* feedback from review

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/e95b369aa20d551cef59f7bda3aff0ddbd4119c7
2019-04-26 11:02:06 -07:00
David Shulman 4f71ca43ed Allow uppercase HTTP_PROXY and NO_PROXY variables (dotnet/corefx#37200)
This is a redo of PR dotnet/corefx#35887.

Added support for uppercase HTTP_PROXY and NO_PROXY environment variables.
The uppercase versions are being used by Docker and other tools. This now
completes the set of environment variables that are already handling both
lower and upper case variants.

Note: This HttpEnvironmentProxy class is currently only used on Linux and OSX.
It is not used on Windows yet. I do plan to add support for this to Windows
at a later time, see dotnet/corefx#37187.

Added detection of CGI environments in order to suppress using the uppercase
HTTP_PROXY environment variable. See https://httpoxy.org/

Fixed some typos in the CSPROJ of the Http Unit Tests.


Commit migrated from https://github.com/dotnet/corefx/commit/dfe7593397bf5c598548486c6cb774ebf60e9d69
2019-04-26 06:23:55 -07:00
Tomas Weinfurt cca9e0d20b make invalidUri more invalid (dotnet/corefx#37109)
Commit migrated from https://github.com/dotnet/corefx/commit/69d2e45a8a8840ba7a90e4ad2d2805d9033aabfc
2019-04-23 10:42:24 -04:00
Tomas Weinfurt 08a48d732d write Host header first if we need to add it (dotnet/corefx#37007)
* write Host header first if we need to add it

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/724d8f73e66b747e079875d431d4c1fa546119e1
2019-04-22 12:28:16 -07:00
Tomas Weinfurt 7f49b1b3fb skip GetAsync_IPv6LinkLocalAddressUri_Success if address is not available (dotnet/corefx#37051)
Commit migrated from https://github.com/dotnet/corefx/commit/8e2e72b2683a4b4b983b184f1e703a3174b8566c
2019-04-20 09:36:43 -04:00
Tomas Weinfurt 0bdef6e6fc add test for connection timeouts (dotnet/corefx#36990)
* add test for connection  timeouts

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/2a6ee34edd98c1746c11c9354bef12654822f5ee
2019-04-19 00:15:37 -04:00
Tomas Weinfurt 56fe92f736 allow Http2 loopback test be unencrypted (dotnet/corefx#36968)
* fix tests with http/2

* make SSL on Loopback server configurable via environment

* update variable names


Commit migrated from https://github.com/dotnet/corefx/commit/95987e3e3aa95b2ae6386b17271a172d20fe50cc
2019-04-18 12:10:31 -07:00
Tomas Weinfurt c1a3326407 handle bad Expires better (dotnet/corefx#36908)
* handle bad Expires better

* update tests

* internal -> private

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/82eedbff6b767c0bd9297d3dd27c89d925a28e93
2019-04-18 08:42:24 -04:00
Stephen Toub 59dfed72f2 Fix SocketsHttpHandler streams to do sync I/O in sync methods (dotnet/corefx#36946)
* Fix SocketsHttpHandler response streams to do sync I/O in sync methods

SocketsHttpHandler hands back response Streams for reading response body content.  While we encourage developers to use the async Stream APIs, Stream does expose synchronous APIs, yet the current implementations are just wrapping the async ones and doing sync-over-async.

This fixes the response stream synchronous APIs to be sync down to the underlying networking stream.

It also fixes a couple other minor issues, e.g. Flush{Async} on read-only stream should be nops rather than throwing, we should include an error message about a stream being read-only when trying to write to it, etc.

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/315fd00cb2465390900209919cdb2bf6bc44ae0e
2019-04-18 00:01:04 -04:00
Tomas Weinfurt f4742bcff4 fix tests with http/2 (dotnet/corefx#36945)
Commit migrated from https://github.com/dotnet/corefx/commit/f80cf8c360ef00c9a5fdc990e3abd7df23ee0015
2019-04-16 21:00:27 -07:00
Viktor Hofer ad3bc59e9a Update testdata versions (dotnet/corefx#36938)
* Update testdata versions

* Bump versions in projects and group in TestData

* Fix typo


Commit migrated from https://github.com/dotnet/corefx/commit/e5d2b5291277dbd7444d0a17a2bff4784265d917
2019-04-16 20:40:30 -04:00
David Shulman 5f3d25be72 Fix ClientWebSocket close handshake when using proxy (dotnet/corefx#36928)
When the client websocket was going through a proxy, it would sometimes transition to the
'Aborted' state and not the 'Closed' state after a successful closing handshake.

I first opened this bug a year ago but finally was able to get back to it and root cause the
problem. The problem only occured with the managed websocket. The .NET Framework did not have
this problem. And some proxies didn't cause a problem with managed websocket (such as Fiddler).

The root cause is a misinterpretation of RFC 6455, Section 7.1.1. This describes the behavior
of how the websocket's TCP connection should be closed. The most graceful way is to wait for
the server to initiate the close of the socket. In cases where it is taking too long to wait
for the server to start the TCP close, then the client can start the TCP close of the socket.

But no matter how the socket is finally closed, the websocket state should transition to 'Closed'
as soon as a valid closing handshake was performed (i.e. close frames both sent and received).
And this occurs before any logic for closing the TCP connection.

The code in managed websocket has a timer to wait 1 second for the server to start a close. If
the timer finishes, then the managed websocket calls an Abort() method to close the socket. This
ends up transitioning the websocket to an 'Aborted' state which is incorrect. The state should
only be moved to the 'Aborted' state if a closing handshake was not completed.

I added a new test to support this change and moved the LoopbackProxyServer code to Common.

Fixes dotnet/corefx#28027


Commit migrated from https://github.com/dotnet/corefx/commit/0c9684c2c4057908cf697a366a3b1527326e507d
2019-04-16 17:15:30 -07:00
Tomas Weinfurt 6f2a308ef9 add tests for invalid HTTP headers (dotnet/corefx#36898)
* add SendAsync_InvalidHeader_Throw

* fix tests

* move SendAsync_InvalidHeader_Throw


Commit migrated from https://github.com/dotnet/corefx/commit/18e1fabd13b40eb6ea88c1b7bae8c4e14a927019
2019-04-16 14:53:07 -07:00
Tomas Weinfurt ec218e40b5 support HTTP/2 without TLS (dotnet/corefx#36753)
* support HTTP/2 without ssl

* feedback from review

* revert changes GetAsync->SendAsync

* remove unused variable

* feedback from review

* feedback from review

* add missong Trace().


Commit migrated from https://github.com/dotnet/corefx/commit/7ed0c5338941346a3cacb4e18f19aaddb283da90
2019-04-16 11:54:24 -07:00
Tomas Weinfurt bb20d2572d add test for lower casing header name logic (dotnet/corefx#36708)
* add test for 35164

* update SocketsHttpHandler_HttpClientHandler_Cancellation_Test_Http2

* fix uwp tests

* change port from 123 to 443


Commit migrated from https://github.com/dotnet/corefx/commit/4e3b46c22cec88a1f0deaa2f594634e5553412e1
2019-04-15 15:15:32 -07:00
David Shulman 8bd406c5f7 Improve HttpClient POST with REDIRECT tests (dotnet/corefx#36848)
This PR is similar to dotnet/corefx#36801 and dotnet/corefx#36828 which improved upload tests stability.

Modify the POST with REDIRECT test to use the VerifyUpload endpoint which avoids
having to echo back the large request body.

Closes dotnet/corefx#36220

Commit migrated from https://github.com/dotnet/corefx/commit/52d4723aaa8e561a6f36589a6d1e112287c0308b
2019-04-13 20:16:43 -07:00
Filip Navara d5ebf4d640 Fix encoding of Digest authentication headers (dotnet/corefx#36627)
* Fix encoding of Digest authentication headers for servers that don't understand RFC 5987 encoding

* Quote-prefix special characters when encoding Digest headers

* Address PR feedback


Commit migrated from https://github.com/dotnet/corefx/commit/cce7870129dcca472f4e6108e21e87bc9573b8d2
2019-04-13 09:07:10 -07:00
Paito AndersonandBen Adams c525f50614 Allow cookies with spaces in the name (dotnet/corefx#36566)
* Allow cookies with spaces in the name

* Apply suggestions from code review

Co-Authored-By: PaitoAnderson <[email protected]>

* Added supporting HttpClient functional cookie test

* Updated UWP cookie class and added additional tests

* Prevent cookies with spaces at the start or end

* Forgot UWP

* Fix could allocate on trim

Co-Authored-By: Ben Adams <[email protected]>

* Better cookie space start/end check

Co-Authored-By: Ben Adams <[email protected]>

* Bring checks into line

Co-Authored-By: Ben Adams <[email protected]>

* Skip test on .net framework

* Skip additional tests on .net framework

* Fix typo


Commit migrated from https://github.com/dotnet/corefx/commit/8a22438a1af870cdd04eaf798b155b8a1ab04cb4
2019-04-13 08:28:21 -07:00
David Shulman 4484947e53 Improve HttpClient POST tests stability (dotnet/corefx#36801)
Several of the HttpClient POST scenario tests were failing with HTTP status code 500. This was caused
by the Azure remote endpoint generating OutOfMemoryException at times. The tests are sending
large amounts of request body data to the Echo endpoint. That endpoint will respond back with all
the headers and request body data serialized into a JSON payload. The OOM exceptions were
coming from the Newtonsoft JSON serialization code currently used by the server endpoint.

These tests don't really require that the request body data be sent back. The purpose of the tests is
to verify that the request body payload was correctly sent by the client. We already have an endpoint,
VerifyUpload, that can do that without echo'ing back the large request body data.

This PR modifies the tests to use that endpoint. This should mitigate the OOM exceptions
currently being generated in the server-side code. Additional mitigations/fixes will be done later on the server-side code to improve robustness. But fixing the tests to be more streamlined is goodness and will result in these tests being faster and more stable.

Closes dotnet/corefx#36782

Commit migrated from https://github.com/dotnet/corefx/commit/288ce93787799052705814876d6e5ccb0523797d
2019-04-11 17:31:25 -07:00
Max Kerr 623c7a23de HTTP/2 Request Cancellation (dotnet/corefx#35118)
HTTP/2 cancellation support, plus improvements to outgoing write buffering.


Commit migrated from https://github.com/dotnet/corefx/commit/d6e36e4ecb0d004de54eb7bdf0ed6cdcb042e3c9
2019-04-11 11:23:45 -07:00
Viktor 7e4b5f9b01 Update src folder
Commit migrated from https://github.com/dotnet/corefx/commit/817c36a05ef2d92e59ce6f5a37e2be50076361b3
2019-04-02 19:21:57 +02:00
Tomas Weinfurt 89884400c0 handle multi-valued headers correctly (dotnet/corefx#35202)
* handle multi-valued headers correctly

* feedback from review

* enable SendAsync_UserAgent_CorrectlyWritten test for HTTP/2

* fix Cookie tests

* feedback from review and test updates

* udpdates from review

* fix itteration

* feedback from review

* remove Streamreader from LoopbackServer

* fix System.Net.WebSockets.Client tests

* feedback from review

* fix tests built for netstandard

* fix one more test

* feedback from review

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/85cec01822bc70fbc45a25001997b0c1e71b1d22
2019-04-01 23:06:34 -07:00
Tomas Weinfurt 8117643cc6 stabilize Http2GetAsync_TrailerHeaders_TrailingHeaderNoBody test (dotnet/corefx#36534)
Commit migrated from https://github.com/dotnet/corefx/commit/b0cbc1be82316f768c6d9876f3e566355a93df68
2019-04-01 17:05:51 -07:00
Tomas Weinfurt c939090840 Add TrailingHeaders support for HTTP/2 (dotnet/corefx#36128)
* add trailing header tests for HTTP/2

* initial implementation

* more fixes and tests

* style cleanup

* feedback from review

* feedback from review


Commit migrated from https://github.com/dotnet/corefx/commit/57cb805d1fd7b7f602b6dc13a681cc8e726b15df
2019-04-01 09:18:23 -07:00
Stephen Toub 1de0f651e4 Improve StaticTestGenerator and fix some visibility (dotnet/corefx#36472)
Worked through a bunch of additional assemblies and fixed cases where StaticTestGenerator was doing the wrong thing.  Also fixed the visibility on a bunch of test methods it wasn't able to access.

Commit migrated from https://github.com/dotnet/corefx/commit/475542441df2f054d5e9aa39576019775a5d2f52
2019-03-29 17:40:05 -04:00
Max Kerr d349951b26 HTTP2: Don't send RST_STREAM in response to window update on closed stream (dotnet/corefx#36410)
Commit migrated from https://github.com/dotnet/corefx/commit/b867bfef3f7e3951b47134c75ebbaae0a5ca9dd3
2019-03-28 10:31:18 -07:00
David Shulman 33c5db650d Fix Kerberos/NTLM for multiple domain/realm environments in Linux (dotnet/corefx#36329)
This PR addresses some issues reported by a customer (not thru GitHub). They noticed that
multiple domain scenarios were working in .NET Core 2.0 but broke in .NET Core 2.1 on Linux.

While the previous PR dotnet/corefx#35383 solved the Negotiate Kerberos to NTLM fallback issue,
it added more complexity than necessary. The retry logic I added wasn't really necessary
because the original code that used GSS_KRB5_NT_PRINCIPAL_NAME format for the target name
was wrong. That logic only works for pure Kerberos environments and doesn't handle domain
or realm referrals. So, it only handles the default Kerberos realm on the the single Linux
client. In addition, using GSS_KRB5_NT_PRINCIPAL_NAME defeats the logic of the SPNEGO mechanism. That is why I originally needed to add the retry logic using GSS_C_NT_HOSTBASED_SERVICE format for the target name.

The multiple domain/realm scenario worked in .NET Core 2.0 because it used CurlHandler.
And libcurl always uses GSS_C_NT_HOSTBASED_SERVICE format for target name.

This PR reworks the logic to use the GSS_C_NT_HOSTBASED_SERVICE format. It also removes the
now unneeded retry logic. I tested this against Windows and Linux as well as pure Kerberos
and Kerberos to NTLM fallback (using SPNEGO).

I added more tests. These tests are currently part of the enterprise scenario tests we are
building. They are activated via environment variables.

By defining all of the environment variables below, I am able to run the System.Net.Security
and System.Net.Http enterprise-scenario tests. Both SocketsHttpHandler in System.Net.Http and
NegotiateStream in System.Net.Security use the same common GSS-API logic in CoreFx.

Define domain-joined server remote endpoint:
* COREFX_NET_SECURITY_NEGOSERVERURI
* COREFX_DOMAINJOINED_HTTPHOST
* COREFX_NET_AD_DOMAINNAME
* COREFX_NET_AD_PASSWORD
* COREFX_NET_AD_USERNAME

Define standalone server remote endpoint:
* COREFX_WINDOWSSERVER_HTTPHOST
* COREFX_NET_SERVER_PASSWORD
* COREFX_NET_SERVER_USERNAME


Commit migrated from https://github.com/dotnet/corefx/commit/658ec735698affec9ce99a59a9342bf7ac5778db
2019-03-25 11:39:33 -07:00
Nick Schonning 53b0062880 typo: Double word "this" (dotnet/corefx#36273)
Commit migrated from https://github.com/dotnet/corefx/commit/97e6256f05945f7b20025e5c14cae6a8871c87ef
2019-03-24 13:40:35 -07:00
Nick Schonning c4db72fc2e typo: Double word "the" (dotnet/corefx#36274)
* typo: Double word "the"

* Apply suggestions from code review

Co-Authored-By: nschonni <[email protected]>


Commit migrated from https://github.com/dotnet/corefx/commit/aa67d40064f652b48f7ee0cd85dbfe39c7deebac
2019-03-24 13:40:10 -07:00
Max Kerr e63ec91ded Add additional diagnostics to PostAsync_RedirectWith307_LargePayload (dotnet/corefx#36239)
* Add additional diagnostics.

* Remove redundant check.


Commit migrated from https://github.com/dotnet/corefx/commit/eca5e9b5399475750d0562752428885220a3c927
2019-03-22 17:56:14 -04:00
Liudmila Molkova 345e589943 Ignore invalid correlation context tokens in Http Diagnostics Listener (dotnet/corefx#35906)
* Fix 31687: ignore invalid correlation context tokens

* add comments

* Add outerloop category

* url-encode correlation context keys and values


Commit migrated from https://github.com/dotnet/corefx/commit/fcbd6804cee9ededfb9db50d7540749640137952
2019-03-21 10:50:50 -07:00
Adam Sitnik 4bf4932b00 Merge remote-tracking branch 'upstream/master' into removePerfTests
Commit migrated from https://github.com/dotnet/corefx/commit/48478bb1ae934e0a4949c71a13ddc7724eef7455
2019-03-19 16:46:37 +01:00
Nikita Potapenko 28f63d6f4e Fix typo (dotnet/corefx#36107)
.Net -> .NET

Commit migrated from https://github.com/dotnet/corefx/commit/d29ae79fb13b4df9078400ac49b460e011f96404
2019-03-17 15:43:21 -07:00
Caesar Chen 52de487b17 Http trailer support for HTTP/1.x (dotnet/corefx#35337)
* http trailer for http/1.1

* address feedback

* address feedback

* pr feedback

* stop blocking context

* fix framework test failiure

* address feedback

* seperate tests

* address some feedback

* more feedback from review

* correct ReadAsync

* feedback from review

* handle short ReadAsync()

* more feedback


Commit migrated from https://github.com/dotnet/corefx/commit/ac9c746c44a5c0decf551fe33fb2acbdc895d021
2019-03-16 15:56:39 -04:00
David Shulman 94d443763c Disable some proxy tests (dotnet/corefx#36037)
Disable some problematic proxy related tests.

Contributes to issue dotnet/corefx#32809

Commit migrated from https://github.com/dotnet/corefx/commit/b97e1b696cb9bf6bf288b4fd28481a2026b0dd7a
2019-03-14 09:48:55 -04:00
David Shulman dd2c47fc44 Clean up some tests and move to new Azure endpoint (dotnet/corefx#36018)
This PR changes the Azure test endpoint for HTTP/1.1 and WebSocket tests to use
Azure App Service instead of the classic Azure Cloud Service endpoint. This now
matches the HTTP/2.0 endpoint architecture.

We are deprecating the use of Azure Cloud Service endpoints because they are hard
to deploy and maintain. Azure App Service, on the other hand, provides a lot of benefits
including built in production/staging slots, TLS certificate handling and easier
integration with Azure DevOps deployment models.

There are a few downsides to Azure App Service which are known feature limitations.
Since it uses ARR (reverse proxy), it causes websocket connections to be proxied.
This results in some behavior changes for some edge condition tests we have. For example,
when a websocket handshake fails (due to subprotocol mismatch for example), the client
side doesn't see a TCP disconnect. Instead, due to the reverse proxy, we end up getting
an HTTP status code (like 500). Either way, it is a websocket handshake failure. So, I've
updated a few tests to be less brittle for that. I also opened another issue dotnet/corefx#36016 to
track moving a few websocket tests to the loopback websocket server which doesn't yet
have full capability.

I also converted an HTTP statusline test to use the loopback server.

Commit migrated from https://github.com/dotnet/corefx/commit/689e58ec123d8c730d48d1c35c8f7ecbba6c22cf
2019-03-13 20:57:55 -07:00
Stephen Toub 440cb8cf44 Disable tests failing on WSL (dotnet/corefx#36017)
This is on Windows 10 Version 10.0.17763 Build 17763.

Commit migrated from https://github.com/dotnet/corefx/commit/cf5c3b0282c07ab13da79f04ee83d39f20bac431
2019-03-13 21:09:42 -04:00
Liudmila Molkova 8f347c6f90 Inject W3C headers in HTTP diagnostics handler (dotnet/corefx#35882)
* Inject W3C headers in corefx Htpp Diagnostics HAndler

* Inject W3C headers if activity format is W3C

* fix style and indentation

* review: fix issue


Commit migrated from https://github.com/dotnet/corefx/commit/7314001fd1ebfb25b500774d1551170a17c7a209
2019-03-11 15:15:08 -07:00
Adam Sitnik 7f1ccc4507 remove System.Net.Http.PerformanceTests
Commit migrated from https://github.com/dotnet/corefx/commit/4dee2229eae448d0ba024340448d6acdf93c9d31
2019-03-05 07:33:28 +01:00
Viktor Hofer f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from https://github.com/dotnet/corefx/commit/c390ce7df50252e11f5d322276e9d19e046d1332
2019-03-03 18:55:25 +01:00
Geoff Kizer 8aab5832e0 Merge pull request dotnet/corefx#35623 from MarcoRossignoli/fixuseragentparsing
Fix bug: UserAgent malformed parsing

Commit migrated from https://github.com/dotnet/corefx/commit/cb54ad963cc655d4c783033a2ab3dc3576d0dc65
2019-03-01 15:40:58 -08:00
Marco Rossignoli 357812cea2 continue parsing after nested call
Commit migrated from https://github.com/dotnet/corefx/commit/b2865f5e4dcda0a3745b96d704aebec82ab22d60
2019-03-01 23:11:29 +01:00
Marco Rossignoli 68952502ce add some tests
Commit migrated from https://github.com/dotnet/corefx/commit/12fc04b6f8c20d901f9c89a1b8d8a540fa22dd0d
2019-02-28 16:13:24 +01:00
Marco Rossignoli 2f1d983a55 fix UserAgent parsing
Commit migrated from https://github.com/dotnet/corefx/commit/840d29c05243f5afe31e43e2415d6dce5b3c71fd
2019-02-27 12:00:17 +01:00
Tomas Weinfurt a41f64dab6 enable GetAsync_AllowedSSLVersion_Succeeds for SocketHttpHandler (dotnet/corefx#35605)
* enable GetAsync_AllowedSSLVersion_Succeeds for SocketHttpHandler and skip Curl on RH6


Commit migrated from https://github.com/dotnet/corefx/commit/f44142b855330ca9274827a230b8ad9a3ccda357
2019-02-26 22:41:05 -08:00
Tomas Weinfurt 19fc9cb9ed improve Ssl3 detection (dotnet/corefx#35574)
* improve sslv3 detection

* updates to pass all tests

* correct catch


Commit migrated from https://github.com/dotnet/corefx/commit/0fa22d4b6753c47b6139980255e932341353179e
2019-02-25 23:02:20 -08:00