Nate McMaster
ad84a1cc71
Merge branch 'release/2.1' into release/2.2
2018-11-14 16:28:38 -08:00
Nate McMaster
406c80bfb0
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 4598850c20
2018-11-14 16:03:24 -08:00
Stephen Halter
4598850c20
Revert "Use non-pinnable buffer for zero byte read ( #3094 )"
...
This reverts commit 0029b8f053 .
2018-11-14 13:42:55 -08:00
Ben Adams
0029b8f053
Use non-pinnable buffer for zero byte read ( #3094 )
2018-11-14 12:05:26 -08:00
Nate McMaster
9d0c69f277
Reorganize source code in preparation to move into aspnet/AspNetCore
...
Prior to reorganization, this source code was found in 15ba5065a9
2018-11-14 11:18:51 -08:00
John Luo
e69285a36d
Use Selenium to test Chrome
2018-11-14 11:13:24 -08:00
Stephen Halter
c80588ec51
Stop skipping libuv functional tests ( #3091 )
2018-11-13 11:34:17 -08:00
Stephen Halter
6d375e9027
Wait for reads before advancing clock in Http2TimeoutTests ( #3090 )
...
Prior to this change, HTTP/2 read rate limit tests would fail when the stalled read started after the test started advancing the clock.
2018-11-13 11:33:48 -08:00
Stephen Halter
5db6394769
Always decrement count on HTTP/2 stream completion ( #3087 )
...
#3079
2018-11-09 12:40:51 -08:00
Stephen Halter
4d2e68649f
Expect correct error message in HTTP/2 test ( #3085 )
2018-11-09 10:39:24 -08:00
Stephen Halter
2b87e7be85
Remove invalid Debug.Assert in Http2Connection ( #3080 )
...
The _streams dictionary may not contain the completing stream in
OnStreamCompleted since the IsDraining flag is applied beforehand
which allows it to be removed by the request processing thread.
2018-11-08 15:16:27 -08:00
Stephen Halter
50bb0b3bc9
Implement no-op HTTP/2 IHttpUpgradeFeature ( #3082 )
2018-11-08 15:10:07 -08:00
Stephen Halter
a1c1083798
[2.2] Fix race conditions in HTTP/2 tests ( #3078 )
2018-11-07 17:09:44 -08:00
John Luo
40a9b18c43
Ignore certificate errors
2018-11-02 11:02:11 -07:00
Stephen Halter
f2a383dc76
Don't count long tick intervals against rate measurements ( #3070 )
...
This might help address #3015
This only affects rate timeouts. Normal fixed timeouts might deserve the same treatment, but that would require some additional locking to ensure we don't modify the sentinel value.
2018-11-02 10:58:30 -07:00
Stephen Halter
d50c0c13b9
Measure the rate of all HTTP/2 output ( #3067 )
...
Prior to this, only the response body counted toward the HTTP/2 response data rate. This PR aligns the HTTP/2 logic closer to the HTTP/1.x logic and measures the rate for all HTTP/2 response data.
This PR also accounts for all response bytes written, not just those that immediately induced backpressure.
2018-10-31 15:34:17 -07:00
John Luo
e958d82584
Add more chrome test logging
...
- fix an issue with tests running as root on VSTS
2018-10-29 16:56:10 -07:00
Stephen Halter
395b681348
Add HTTP/2 request body data rate limit ( #3051 )
2018-10-26 10:46:46 -07:00
Sébastien Ros
d9aba751ae
Change TargetFramework for micro benchmarks
2018-10-25 17:58:23 -07:00
John Luo
616aeba156
Use chrome instead of chromium on Ubuntu
2018-10-25 12:50:07 -07:00
John Luo
31f1e170d0
Add interop tests with headless chrome
2018-10-25 10:38:41 -07:00
Chris Ross (ASP.NET)
a8073167e7
Revert "Flush response headers #3031 "
...
This reverts commit 277a5502fd .
2018-10-23 15:49:11 -07:00
Chris Ross (ASP.NET)
32532078d6
Log binary data as a parameter #2860
2018-10-22 14:51:29 -07:00
Stephen Halter
2a610ee1b8
Reduce flakiness of LargeUpload tests ( #3036 )
...
* Move h2spec tests to own project
2018-10-22 11:38:53 -07:00
Chris Ross (ASP.NET)
ad3cba5509
Disable inheritance test on linux #3034
2018-10-22 11:24:11 -07:00
Chris Ross (ASP.NET)
277a5502fd
Flush response headers #3031
2018-10-19 18:00:24 -07:00
Chris Ross (ASP.NET)
23a4e11261
Send RST for canceled HTTP/2 writes #3007
2018-10-19 11:03:44 -07:00
Chris Ross (ASP.NET)
d3f2ca9c9a
Do not inherit socket handles #2789
2018-10-18 12:19:58 -07:00
Chris Ross (ASP.NET)
1d3090f056
Only reset the request body pipe for HTTP/1 #3006
2018-10-17 16:28:33 -07:00
John Luo
97acb95715
Set default protocol to HTTP/1.x
2018-10-17 11:11:02 -07:00
Stephen Halter
194b18b115
Fix test flakiness caused by not reading in a loop ( #3023 )
...
Fixes #3021
2018-10-16 18:15:46 -07:00
ASP.NET CI
c70fe8b1b9
Update package branding for 2.2 RTM
2018-10-16 12:48:16 -07:00
John Luo
06dbdf5ced
Increase retry count
2018-10-15 19:05:19 -07:00
John Luo
4b9a3fcc05
Skip falky tests caused by https://github.com/dotnet/corefx/issues/30691
2018-10-15 18:46:36 -07:00
John Luo
cc45d0cb41
Use dev certs
...
- Also update tfms
2018-10-15 11:29:55 -07:00
Stephen Halter
e5ec72c833
Add test to verify HTTP/2 preamble is included in keep-alive timeout ( #3011 )
...
#2900
2018-10-15 11:09:25 -07:00
Chris Ross
3a1cf72451
#3009 HTTP/2 Test stabalization ( #3010 )
2018-10-12 17:14:44 -07:00
Stephen Halter
1f2e704dd3
Implement MinResponseDataRate for HTTP/2 ( #3003 )
...
#2807
2018-10-12 13:15:46 -07:00
dotnet-maestro-bot
31f60d75d3
Update dependencies.props ( #3001 )
...
[auto-updated: dependencies]
2018-10-12 11:43:41 -07:00
Chris Ross (ASP.NET)
081cef0934
Track aborted streams for a given grace period #2832
2018-10-11 12:55:26 -07:00
Günther Foidl
773aa6e6ff
Http{Request|Response}Stream.ValidateState made inlineable
2018-10-10 17:45:05 -07:00
Stephen Halter
8bca6b3877
Add HTTP/2 keep-alive and request header timeouts ( #2992 )
2018-10-08 17:06:15 -07:00
ASP.NET CI
6164ec7225
Update dependencies.props
...
[auto-updated: dependencies]
2018-10-07 19:23:18 +00:00
John Luo
5b90028fe3
Expose status code of BadHttpRequestException
2018-10-05 16:08:33 -07:00
Chris Ross (ASP.NET)
daf6e1ecd7
Http/2 response trailers #622
2018-10-05 12:50:46 -07:00
George Drak
e9eea50966
Implement #2230 - Consume BindingAddress instead of ServerAddress ( #2975 )
...
* #2230 Mark ServerAddress as obsolete
* #2230 suppress CS0618 errors for obsoleted ServerAddress class
* #2230 Use BindingAddress instead of ServerAddress
2018-10-05 10:34:00 -07:00
Stephen Halter
f91ae20a3c
Improve RequestAborted token handling ( #2977 )
...
- Improve test reliability of tests verifying the RequestAborted token gets tripped
- Once the response body is completed, don't fire the token for that request even if it is accessed later on.
2018-10-04 16:48:50 -07:00
Stephen Halter
b3f9f38ac6
Test LibuvConstants.IsConnectionReset
2018-10-04 15:40:09 -07:00
Andrei Amialchenia
df2ad98743
Use logical 'or' instead of bitwise in IsConnectionReset method. ( #2983 )
2018-10-04 15:37:24 -07:00
Chris Ross (ASP.NET)
35d35f22a3
Disallow any frames after a reset is received #2154
2018-10-04 09:40:21 -07:00