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
Kristian Hellang
d1d9bceff5
#833 Change non-standard header name 'ContentMD5' to 'Content-MD5'
2017-05-08 13:37:00 -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
Kiran Challa
778bb3cb11
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-08 11:10:07 -07:00
Pavel Krymets
3bcf6eaa69
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-08 10:08:27 -07:00
Pavel Krymets
d268571db6
Disable lightup logger if user adds AI logger ( #46 )
2017-05-08 10:06:35 -07:00
John Luo
6ffac0c722
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 17:14:57 -07:00
John Luo
c1949b340a
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 17:13:30 -07:00
John Luo
9b80f2a635
Migration
2017-05-05 17:12:36 -07:00
John Luo
3485a04ea1
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 17:11:49 -07:00
John Luo
c90414939c
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 17:11:16 -07:00
Chris Ross (ASP.NET)
13ea876ca1
Register IApplicationDiscriminator service
2017-05-05 17:07:22 -07:00
Chris R
129edaec7c
Remove IHostingEnvironment dependency ( #230 )
2017-05-05 17:03:33 -07:00
Kiran Challa
e780d31ce3
Updated store tests to work on linux an osx too
2017-05-05 16:59:26 -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
Kiran Challa
067cd90fef
Removing filter to fix build break
2017-05-05 15:16:55 -07:00
John Luo
9168442704
Migration
2017-05-05 14:59:10 -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
Kiran Challa
d488a989a6
Added smoke tests to create and use package cache
2017-05-05 13:31:43 -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
Kiran Challa
b854e200cd
Updated repo.targets to run only Nano functional tests when RUN_TESTS_ON_NANO is set to 'true'
2017-05-05 11:19:30 -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
404f51828a
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 10:22:55 -07:00
Pavel Krymets
f2f4813023
Update InternalAspNetCoreSdkVersion
2017-05-05 10:22:47 -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
2c172fa462
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 10:22:23 -07:00
Pavel Krymets
86ead9f70a
Update InternalAspNetCoreSdkVersion
2017-05-05 10:22:15 -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
Pavel Krymets
3547f32752
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-05 10:11:45 -07:00