Commit Graph

1953 Commits

Author SHA1 Message Date
Stephen Halter 2ab22ac55a Merge branch 'release/2.1' into dev 2018-06-28 11:27:11 -07:00
Stephen Halter ac31e5ab30
[2.1.3] Consistently handle connection aborts (#2619)
* Decouple connection objects from the server (#2535)

- Making progress towards being able to use the connection objects on the client side.

* Wait for input writer to complete before calling OnConnectionClosed (#2566)

* Wait for the ConnectionClosed token to stop tracking connections (#2574)

- The prior strategy of waiting for the pipe completed callbacks doesn't work
  because blocks are returned to the memory pool after the callbacks are fired.

* Consistently handle connection resets (#2547)

* Provide better connection abort exceptions and logs

* void IConnectionDispatcher.OnConnection
2018-06-28 10:51:22 -07:00
Nate McMaster 7f49500ffa
Bumping version from 2.1.2 to 2.1.3 2018-06-27 13:39:48 -07:00
John Luo 423d5432be Add test for ensuring HPACK lowercase header names
- ensure lowercase mask only applied to uppercase letters
2018-06-26 10:44:21 -07:00
ASP.NET CI 126122fa0e Update dependencies.props
[auto-updated: dependencies]
2018-06-25 11:20:55 -07:00
Chris Ross (ASP.NET) 61e16e2b31 Automation for h2spec functional tests #2640 2018-06-21 11:17:16 -07:00
Chris Ross (ASP.NET) 324565772c Prevent app code from blocking the connection loop #2657 2018-06-20 11:06:49 -07:00
Chris Ross (ASP.NET) 2b269e0433 Set Min OS version for ALPN tests at Win 8.1. 2018-06-19 13:58:34 -07:00
Chris Ross (ASP.NET) 99f1db7bdc Add TLS Filter sample #2251 2018-06-19 12:16:46 -07:00
Chris Ross (ASP.NET) c498f03cb4 Expose Tls details as a feature. #2661
Limit Http/2 to TLS 1.2 #2251
Bootstrap functional tests #2238
2018-06-18 16:25:18 -07:00
Chris Ross (ASP.NET) c18a27d1f1 Remove AppVeyor and Travis 2018-06-18 13:57:27 -07:00
Stephen Halter 14f020cf11
Improve tracking of connection lifetime (#2646) 2018-06-15 11:10:38 -07:00
Mike Harder 35d9590f3c
Prevent double-close race condition in ListenHandleTests.CanListenToOpenTcpSocketHandle() (#2666) 2018-06-14 12:50:03 -07:00
John Luo 13663e1e15 Convert to using definitions from HeaderNames 2018-06-13 11:24:24 -07:00
Nate McMaster 11ddd9174c
Bumping version from 2.1.1 to 2.1.2 2018-06-12 14:13:52 -07:00
ASP.NET CI ab5fb559e5 Update dependencies.props
[auto-updated: dependencies]
2018-06-12 19:26:02 +00:00
Stephen Halter ee86e97b6b
React to aspnet/BuildTools#684 (#2660)
* Update KoreBuild
* Minimize blocking threads to increase travis reliability
2018-06-11 16:43:33 -07:00
Chris Ross (ASP.NET) a217206f1f Enforce max frame size #2651 2018-06-11 14:20:43 -07:00
Chris Ross (ASP.NET) 810a302e66 Disable AllowRenegotiation for HTTP/2 2018-06-11 13:51:23 -07:00
Ryan Brandenburg 0419a44b77 Adding VSTS file 2018-06-11 11:02:41 -07:00
Chris Ross (ASP.NET) 00827e38bb Harden TFM checks #2624 2018-06-07 14:56:23 -07:00
ASP.NET CI f4477cd5c3 Update dependencies.props
[auto-updated: dependencies]
2018-06-07 19:40:49 +00:00
Nate McMaster 8688e36d7a
Add certificate names for code signing 2018-06-05 22:33:12 -07:00
Chris Ross (ASP.NET) a48222378b Update dependencies 2018-06-04 20:10:40 -07:00
Chris Ross (ASP.NET) bac99ad086 React to Uri scope break 2018-06-04 20:10:40 -07:00
ASP.NET CI 40d1b75272 Update dependencies.props
[auto-updated: dependencies]
2018-06-03 19:19:52 +00:00
Stephen Halter 0aff4a0440
Handle client and server aborts differently from eachhother (#2612)
* Trace when app aborts connection
* Improve exception messages
* Always abort connection with ConnectionAbortedException
* Add ConnectionContext.Abort(Exception)
2018-06-01 14:42:30 -07:00
Stephen Halter aa9b9ca724 Merge branch 'release/2.1' into dev 2018-05-31 16:29:14 -07:00
Stephen Halter e4d290b601
Fix Json regression in Socket Transport (#2578) 2018-05-31 16:28:25 -07:00
Stephen Halter d1416e679b
[2.1.1] Provide clearer exception message for breaking change (#2623)
- In 2.1, the default transport (Sockets) can no longer bind to certain
  endpoint types (Unix domain sockets and open socket handles).
- The new message recommends manually selecting the libuv transport
  to work around this issue.
2018-05-31 15:45:26 -07:00
Stephen Halter af177c5adc
Add Memory<byte> overloads to HttpUpgradeStream (#2622) 2018-05-31 15:44:39 -07:00
Stephen Halter 28dad2b2b1
Unskip and fix race in ConnectionClosedEvenIfAppSwallowsException (#2632) 2018-05-31 15:39:25 -07:00
Chris Ross (ASP.NET) 7e43d35049 Make ListenOptions.Protocols public again for HTTP/2 work 2018-05-30 12:25:38 -07:00
Stephen Halter f80091a328 Merge branch 'release/2.1' into dev 2018-05-29 16:37:16 -07:00
Stephen Halter 5ec7bacdfe
Lower severity of AuthenticationException logs from SslStream handshake (#2614) 2018-05-29 16:27:16 -07:00
Stephen Halter b08163d3b7
[2.1.1] Use TaskCreationOptions.RunContinuationsAsynchronously a lot (#2618) 2018-05-29 16:07:41 -07:00
ASP.NET CI 67afccfd16 Update dependencies.props
[auto-updated: dependencies]
2018-05-29 09:44:22 -07:00
ASP.NET CI ba9d0a27ce Update dependencies.props
[auto-updated: dependencies]
2018-05-27 19:20:40 +00:00
Nate McMaster (automated) 4a8b6dbd14
Update bootstrapper scripts (automated commit) [ci skip] 2018-05-25 16:15:58 -07:00
Stephen Halter f70088c2d9
Don't block so many threads in HeartbeatTests (#2610) 2018-05-23 15:58:33 -07:00
Nate McMaster cc35474a7c
Bumping version from 2.1.0 to 2.1.1 2018-05-23 15:35:19 -07:00
Chris Ross (ASP.NET) cf684a1e8f Re-enable IPv6 test 2018-05-23 09:11:10 -07:00
Stephen Halter a9d6cf13eb
Consistently handle connection resets (#2547) 2018-05-22 16:38:21 -07:00
Stephen Halter e8f9119d4b
Enable test file logging on Jenkins (#2588) 2018-05-21 15:17:13 -07:00
ASP.NET CI 65605647bb Update dependencies.props
[auto-updated: dependencies]
2018-05-20 19:38:01 +00:00
Mike Harder 99a661edd6
Improve reliability of RequestTimesOutWhenRequestBodyNotReceivedAtSpecifiedMinimumRate (#2589)
- Fix race condition in test code
- Addresses https://github.com/aspnet/KestrelHttpServer/issues/2539
2018-05-18 16:25:01 -07:00
Mike Harder 1951ddf6ea
Improve reliability of MaxRequestBufferSizeTests.LargeUpload (#2586)
- Increase _dataLength from 20MB to 40MB to improve test reliability when using Sockets transport on Windows
- Addresses https://github.com/aspnet/KestrelHttpServer/issues/2225
2018-05-17 16:53:52 -07:00
John Luo 43cabfdd61 Upgrade deps 2018-05-17 12:25:36 -07:00
Stephen Halter a13339dd5c
Re-enable ConnectionCountingReturnsToZero on non-macOS machines (#2585) 2018-05-17 11:54:58 -07:00
John Luo 336fe6ed90 Dispose base 2018-05-17 10:45:50 -07:00