Commit Graph

11505 Commits

Author SHA1 Message Date
Stephen Halter 9ab09dbe48 Change Exception to UvException where possible (#1833) 2017-05-15 11:03:04 -07:00
Stephen Halter 41f1922502 Simplify LibuvConnection.OnRead() (#1828)
* Simplify LibuvConnection.OnRead()

- Fix a null reference that sometimes occurs given an EOF status
2017-05-15 11:02:16 -07:00
Kiran Challa 01b8d5fad1 Skip flaky temporarily to unblock the mirror 2017-05-13 20:41:10 -07:00
David Fowler 1a706113d9 Remove rogue ConfigureAwait (#1830)
- We don't do it anywhere else, I assume this is left over
from older legacy
2017-05-12 18:26:52 -07:00
Cesar Blum Silveira cb1d0f3956 Prevent infinite loop in PipelineExtensions.PeekAsyncAwaited() (#1827). 2017-05-12 16:04:38 -07:00
Stephen Halter e149852d62 Skip flaky tests on TeamCity agents (#1832) 2017-05-12 14:36:47 -07:00
Nate McMaster 0e3d091fb7 Upgrade test framework versions 2017-05-12 12:22:22 -07:00
Javier Calvarro Nelson d324d483d3 Remove identity service from universe 2017-05-12 11:06:59 -07:00
Nate McMaster 6006ebe96f Update test framework versions 2017-05-12 10:39:52 -07:00
Kiran Challa 5e462aa87a Added log messages related to repository information 2017-05-12 06:05:50 -07:00
Cesar Blum Silveira 37f15bdd85 Create Frame in FrameConnection. 2017-05-10 16:48:37 -07:00
David Fowler b9518e3684 Invert the dependency between connection adapters and Frame (#1822)
* Invert the dependency between connection adapters and Frame
- Removed PrepareRequest from IAdaptedConnection and instead added
a feature collection to the ConnectionAdapterContext. This allows features to be set
once by the adapter instead of per request. It's the Frame's job to copy features
from the connection level feature collection into the per request feature collection.
- Set the scheme to "https" based on the presence of ITlsConnectionFeature.
- Always set ITlsConnection feature if the HttpsAdaptedConnection doesn't throw during
the handshake
2017-05-10 15:29:43 -07:00
Pavel Krymets 67322fe8ab Remove unnecessary package references (#177) 2017-05-10 11:48:33 -07:00
Pavel Krymets 7a7dc71164 Remove unnecessary package references (#79) 2017-05-10 11:45:31 -07:00
Pavel Krymets 90ee2252a0 Remove unnecessary package references (#1825) 2017-05-10 11:35:23 -07:00
Pavel Krymets 7e9397aa8a Remove unnecessary package references (#367) 2017-05-10 11:32:30 -07:00
Daniel Roth 698fabfa3e Update README.md 2017-05-09 21:08:50 -07:00
David Fowler c8b6a2be56 More FrameConnection refactoring (#1820)
* More FrameConnection refactoring
- This change reverts the change to complete the writer with an
exception on abort because of the number of first chance exceptions
that get thrown.
- This change also moves connection logging into FrameConnection instead
of being split between the ConnectionHandler and FrameConnection.
- Fixed issues with LibuvOutputConsumerTests that leak WriteReq since
cancelled writes no longer end the connection.
2017-05-09 17:40:25 -07:00
David Fowler c48113ad80 Refactoring and of FrameConnection and Frame (#1816)
* Refactoring and of FrameConnection and Frame
- Building on top of the last refactoring of FrameConnection, this change aims to clean up
the communication between the Frame and FrameConnection by removing some concepts and
being consistent about the communication between Frame and FrameConnection with or without
connection adapters. Changes include:
- Removing ConnectionLifetimeControl, ISocketOutput, StreamSocketOutput
- Moving more initialization of the frame to FrameConnection after the pipes
are setup
- OutputProducer communicates cancellation via the IPipeWriter instead of the output's IPipeReader.
- Frame always communicates via the pipes and that communications flows through the layers to the transport.
This means that each 1/2 of the adapted pipeline handles closing the right side of the transport at the
right time, propagating exceptions as necessary.
- This is how the flow looks now:
            ->                        ->
[transport]     [connection adapters]     [frame]
            <-                        <-
- Transports need to handle a ConnectionAbortedException on the output as a signal to stop
writing and end the connection. This will no longer try to drain the output but will just stop
writing and end the response immediately.
- Remove frame.Abort when cancellation on Write fails.
- Unify the connection shutdown logic
- Dispose 1/2 initialized connection adapters

#1815
2017-05-08 20:44:13 -07:00
Mike Harder c86336bb42 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-08 13:06:54 -07:00
Mike Harder 47ee65f318 Upgrade StackExchange.Redis.StrongName to version 1.2.3 (#231)
- Addresses package downgrade warnings (https://github.com/aspnet/DataProtection/issues/227)
2017-05-08 13:04:25 -07:00
John Luo c90414939c Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 17:11:16 -07:00
Chris R 129edaec7c Remove IHostingEnvironment dependency (#230) 2017-05-05 17:03:33 -07:00
Jass Bagga 078e313cb5 Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev 2017-05-05 16:27:41 -07:00
Jass Bagga ec0ce4b638 Change TFM to netcoreapp2.0 (#78) 2017-05-05 16:17:15 -07:00
Jass Bagga 378136f794 Change TFM to netcoreapp2.0 (#78) 2017-05-05 16:12:46 -07:00
Stephen Halter 6e2fdda162 Simplify connection lifetime control flow (#1776)
* Also make IAdaptedConnection disposable
2017-05-05 16:11:01 -07:00
Chris Ross (ASP.NET) 3a7022fdcd Remove IHostingEnvironment dependency 2017-05-05 15:41:16 -07:00
Pavel Krymets 28b479c99a Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 14:35:41 -07:00
Pavel Krymets a9c165e666 netcoreapp2.0 (#1810) 2017-05-05 14:31:34 -07:00
David Fowler cd1568d7f4 Remove uv_shutdown because FIN is already sent during uv_close (#1811)
* Remove uv_shutdown because FIN is already sent during uv_close

#1808
2017-05-05 12:52:10 -07:00
Chris Ross (ASP.NET) 1757af47d5 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 11:43:59 -07:00
Chris Ross (ASP.NET) 539a13717e Migrate to netcoreapp2.0 2017-05-05 11:37:10 -07:00
Pavel Krymets 1aa8f23c6e Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:32:11 -07:00
Pavel Krymets 55396339a6 Update InternalAspNetCoreSdkVersion 2017-05-05 10:32:04 -07:00
Andrew Stanton-Nurse 23c4e056dd Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:30:17 -07:00
Andrew Stanton-Nurse 31eba3812f clean-up after netcoreapp2.0 (#174) 2017-05-05 10:24:36 -07:00
Pavel Krymets 5ea9981cdb Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:24:24 -07:00
Pavel Krymets 49a6be9b81 Update InternalAspNetCoreSdkVersion 2017-05-05 10:24:16 -07:00
Pavel Krymets 95d2ee5d8f Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:24:09 -07:00
Pavel Krymets 8a0a8a781e Update InternalAspNetCoreSdkVersion 2017-05-05 10:23:47 -07:00
Pavel Krymets 68868fe812 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:23:41 -07:00
Pavel Krymets 6a5fb3b638 Update InternalAspNetCoreSdkVersion 2017-05-05 10:23:34 -07:00
Pavel Krymets b85a0a8af3 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:22:40 -07:00
Pavel Krymets 0eca220069 Update InternalAspNetCoreSdkVersion 2017-05-05 10:22:33 -07:00
Pavel Krymets 71f95c0447 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:20:56 -07:00
Pavel Krymets cb377203a4 Update InternalAspNetCoreSdkVersion 2017-05-05 10:20:48 -07:00
Pavel Krymets d91d627c04 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-05 10:20:16 -07:00
Pavel Krymets 1e639aca49 Update InternalAspNetCoreSdkVersion 2017-05-05 10:20:05 -07:00
Andrew Stanton-Nurse a9cf465661 Merge branch 'rel/2.0.0-preview1' into dev 2017-05-04 19:28:20 -07:00