Commit Graph
14 Commits
Author SHA1 Message Date
David Shulman f10c0336a1 Add test helper to enable SocketsHttpHandler HTTP/2 testing (dotnet/corefx#31530)
The HTTP/2 feature is turned off by default on SocketsHttpHandler since the implementation
is not done. It can be enabled via AppContext or environment variable settings. However,
using those settings is not practical because we need a more granular way of turning on
the HTTP/2 feature for running certain tests.

This PR adds a test helper that uses reflection to set the internal _maxHttpVersion field
of SocketsHttpHandler. I also enabled one HTTP/2 test to demonstrate how to use this test
helper method.

Contributes to dotnet/corefx#31496

Commit migrated from https://github.com/dotnet/corefx/commit/2f9483cdf78c8b6319f471ccb09422a2b0248ee7
2018-08-01 11:49:23 -07:00
Geoff Kizer 7670848c70 fix a test issue caused by new MSIT VPN adapter
Commit migrated from https://github.com/dotnet/corefx/commit/d730ec04c0ba9b96be1b88f282cd13635513a214
2018-07-23 15:29:31 -07:00
Geoff Kizer f7a4f23f7e rework request header framing and several other fixes
cleanup


Commit migrated from https://github.com/dotnet/corefx/commit/3134237aafbc598e69b23be29e3442ebe9795e70
2018-07-17 11:52:33 -07:00
Tomas Weinfurt 73922f6a6f update AllowAllCertificates so it works on systems with curl/nss. Disable test on Windows as it seems to cause some troubles.
Commit migrated from https://github.com/dotnet/corefx/commit/85756b823938ca5c5f6583d024a14363ad266f7d
2018-02-23 10:13:47 -08:00
Lakshmi Priya Sekar 4fc5a16b79 Mark failing tests with issue.
Commit migrated from https://github.com/dotnet/corefx/commit/828468a258cfba872c84c3976835e9c664f68dee
2018-02-14 17:24:03 -08:00
Geoff Kizer b94eefba0f reorganize and cleanup some LoopbackServer code
Commit migrated from https://github.com/dotnet/corefx/commit/ec6a7215bb28a061d2357d8c3874447bc575132d
2018-02-13 15:43:59 -08:00
stephentoub 08c45ba7b8 Address PR feedback
Commit migrated from https://github.com/dotnet/corefx/commit/10c8af5ebedaf1db4a2a7efeac58518df362cbdf
2016-05-12 06:11:28 -04:00
stephentoub 31eddcd4ce Add HttpClient test with IPv6 Uris
Adds support to the loopback server for binding to IPv6 local addresses, then adds a test that uses both ::1 and a link-local address for the current machine.


Commit migrated from https://github.com/dotnet/corefx/commit/a00e71b22fecbf9e2da3205e2e56bdb46773cbc2
2016-05-12 06:11:28 -04:00
Eric Eilebrecht 8d478ce19e Reference dotnet/corefx#5525 from TODO comments
Commit migrated from https://github.com/dotnet/corefx/commit/77eec5c96548a09b38a5ce59b1e110a765b02569
2016-04-20 10:03:40 -07:00
Jon Hanna 1c58a2a42a Fix multiple typos [5]
Commit migrated from https://github.com/dotnet/corefx/commit/00a0871c5cc4ff6af7f036946eef48644ed1e27d
2016-03-20 19:15:44 +00:00
dotnet-bot 39d1eab950 Update licensing headers
Commit migrated from https://github.com/dotnet/corefx/commit/7cad8486cbabbce0236bdf530e30db7036335524
2016-01-27 08:02:28 -08:00
David Shulman b14cd70e12 Cleanup System.Net.Http tests
* Move more tests to the new test server
* Cleanup 'var' coding patterns
* Remove duplicate tests (*Content clas related) that are already covered with the *Content class tests
* Utiilize the newer test server VerifyUpload endpoint which does 'Content-MD5' verification of transmitted payload to the server
as well as payload from the server
* Add GZip related tests in addition to Deflate compression schemes


Commit migrated from https://github.com/dotnet/corefx/commit/773c8ae1db5aa7e5d695a74fb63968382f8529da
2015-11-09 07:05:24 -08:00
David Shulman 4b3de626c1 Removed commented-out code.
Commit migrated from https://github.com/dotnet/corefx/commit/79e3350eec6c9fdee9081f9d3dd8b42fe574ada3
2015-10-27 15:29:43 -07:00
David Shulman c8432253b4 Add HttpClient tests to support all HTTP verbs
Added tests for validating against all standard and custom HTTP verbs. These tests use the new networking test server.

Cosolidated some existing tests that were duplicative. More test porting and reorganzing will be done in later PRs.


Commit migrated from https://github.com/dotnet/corefx/commit/057f0a9bc938606f9e3a24a51f64f3a4fd9bbb55
2015-10-27 15:03:29 -07:00