Hao Kung
ec176b2e40
Merge release/2.2 ( #1055 )
...
* Add safe copy for enumeration (#1052 )
2018-10-25 18:43:21 -07:00
Ryan Nowak
d17d9155c7
Port aspnet/Routing/pull/858
2018-10-17 14:26:30 -07:00
MK
39c25357c6
Skip extensions in SetCookie parser #1049 ( #1050 )
2018-10-17 09:48:23 -07:00
John Luo
3fe17b9faf
Merge branch 'release/2.2'
2018-10-10 18:14:38 -07:00
Ben Adams
800c79c0e4
Fast-path async in HttpResponseStreamWriter
2018-10-10 18:13:58 -07:00
Chris Ross (ASP.NET)
b2d53bd328
Merge branch 'release/2.2'
2018-10-10 14:35:57 -07:00
James Newton-King
f6e20a38e2
HostString throws ArgumentNullException for null host ( #1045 )
2018-10-10 08:27:33 -07:00
Chris Ross (ASP.NET)
7fd01fb90d
Merge branch 'release/2.2'
2018-10-05 11:49:02 -07:00
Chris Ross (ASP.NET)
89b0430bda
Add IHttpResponseTrailersFeature and extensions
2018-10-05 11:46:52 -07:00
Jo Ham
fc6ac2361e
Fix Typo ( #1044 )
2018-10-05 07:52:15 -07:00
James Newton-King
5f75c07bbf
Add RoutesValues to HttpRequest ( #1042 )
2018-10-02 16:03:58 +13:00
Roma Marusyk
c7eaf77953
Fix XML documentation for IFormFileCollection ( #1041 )
2018-09-27 17:13:28 -07:00
Roma Marusyk
cbed7393a2
Add XML documentation for IFormFileCollection. #3528 ( #1040 )
2018-09-27 09:53:39 -07:00
Chris Ross (ASP.NET)
8e4f7365ad
Merge branch 'release/2.2'
2018-09-17 15:06:31 -07:00
Ryan Nowak
41c4a47680
Minor perf updates for RVD
...
Porting changes from perf work in
https://github.com/aspnet/Routing/pull/788
Includes porting/adding the RVD benchmarks, as well as a new TryAdd
method.
2018-09-13 13:45:08 -07:00
Pranav K
d0ddb068be
Return FormCollection.Empty when Content-Length is 0 ( #1038 )
...
* Return FormCollection.Empty when Content-Length is 0
Fixes https://github.com/aspnet/Mvc/issues/5631
2018-09-13 13:35:31 -07:00
Daniel Roth
d81f04a5b0
Update doc comment for HttpRequest.Protocol ( #1013 )
2018-09-06 08:48:00 -07:00
Simon Cropp
cfb0d732b0
fix some spelling ( #1035 )
2018-09-06 08:46:34 -07:00
James Newton-King
05a581a132
Copy core endpoint routing types to HttpAbstractions ( #1030 )
2018-08-29 17:07:16 +12:00
Justin Kotalik
80b6ae4eb4
Handle subtype with suffix being a subtype without a suffix ( #1027 )
2018-07-30 12:05:35 -07:00
David Fowler
0f4f1950f1
Attempt to make it easier to detect when the request is done ( #1021 )
...
- Today the async local reference to the HttpContext flows when the execution context is captured. When the http request has ended, the HttpContext property will return the reference to an invalid HttpContext instead of returning null. This change stores both the request id and the HttpContext and makes sure both match before returning anything valid.
- This is still racy but should catch more cases of people doing bad things.
- There will still be issue if people store the context in a local and use that reference instead of accessing it through the property getter but we can live with that.
- Set the TraceIdentifier to null in the default HttpContextFactory
- Added tests
2018-06-26 11:49:12 -07:00
Ryan Brandenburg
80a361c24c
Set 2.1 baselines
2018-06-14 10:13:59 -07:00
Nate Barbettini
a6bdb9b1ec
Fix typos in code documentation ( #1012 )
...
* Fix typos in code documentation
* Add missing detail to code documentation
2018-04-06 08:09:48 -07:00
Tornhoof
e80d0b000a
Make BufferedReadString public and add doc ( #1011 )
2018-03-26 16:03:16 -07:00
Chris Ross (ASP.NET)
49b447d626
Merge branch 'release/2.1' into dev
2018-03-23 09:19:06 -07:00
Chris Ross (ASP.NET)
3d9a19d865
Merge branch 'release/2.1' into dev
...
# Conflicts:
# build/dependencies.props
# korebuild-lock.txt
2018-03-23 09:16:55 -07:00
Patrick Westerhoff
72210e4078
Add AuthenticationProperties.Parameters ( #1008 )
...
Add a `Parameters` bag to the authentication properties that allow
passing arbitrary parameters to an authentication handler. These values
are not intended for serialization of persistence, only for flowing data
between call sites.
Also make existing `Items` collection helpers protected to allow them to
be reused in subclasses, make string-based helpers public as a public
way to work with the collection, and add helper methods to interact with
the `Parameters` dictionary.
2018-03-23 09:13:02 -07:00
Chris Ross (ASP.NET)
e5cffe685b
Do not rely on the implicit StringValues to array converter.
2018-03-21 09:42:20 -07:00
Ryan Brandenburg
f91db5b794
Set 2.0 baselines
2018-03-20 11:49:29 -07:00
richardhopton
f6f89554c9
Fix trimming line if CR not directly before LF ( #1006 )
...
If the line contains a CR in any location than directly before the LF it would detect a valid line and then trim 2 characters from the end of the line, losing a "real" character.
2018-03-19 09:09:57 -07:00
John Luo
b85ed9d5cd
Commas in doc comments
2018-02-22 10:44:59 -08:00
Chris Ross (ASP.NET)
d20d47924c
Add HostString.MatchesAny #2863
2018-02-13 14:40:14 -08:00
Doug Bunting
7b9da556fb
Add `HttpRequestRewindExtensions`
...
- aspnet/Home#2684
- makes the `BufferingHelper` methods used in MVC and WebHooks `public`
2018-02-06 22:11:06 -08:00
David Fowler
816ecf5cda
Reduce the amount of argument checking by flattening the call graph. ( #995 )
2018-02-06 10:26:56 -08:00
Robert Miles
672a5f3c76
Allow null value in query string KVP per RFC 3986 ( #994 )
...
* Allow null value in query string KVP per RFC 3986
* Tweaks per PR suggestions
* Tweaks per PR suggestions, round 2
* Tweaks per PR suggestions, round 3
2018-02-05 20:25:53 -08:00
Kristian Hellang
450900d14c
Added protected ctor to AuthenticationSchemeProvider ( #990 )
2018-02-05 13:43:55 -08:00
Hossam Barakat
9119433ab7
Add the middleware name to the exception message UseMiddlewareNoInvokeMethod ( #993 )
...
Addresses #927
Addresses aspnet/Home#2692
2018-02-01 06:22:08 -08:00
Mikael Mengistu
e8d69911fd
Adding Http2 headers to HeaderNames class ( #992 )
2018-01-31 11:55:43 -08:00
David Fowler
6cd313fcfa
Revert "Change MiddlewareFactory to type activate IMiddleware as a fallback ( #988 )" ( #991 )
...
This reverts commit 44d5bf074f .
2018-01-30 10:28:52 -08:00
Michael Hawkins
9f64c69a2a
Disambiguates IFormFile name docs ( #935 )
2018-01-28 14:27:47 -08:00
David Fowler
44d5bf074f
Change MiddlewareFactory to type activate IMiddleware as a fallback ( #988 )
...
- This eases the transition and learning when you discover there's
an interface for middleware.
2018-01-25 13:51:54 -08:00
Chris Ross (ASP.NET)
ce69341265
Add ITrackingConsentFeature.CreateConsentCookie
2018-01-05 12:04:50 -08:00
Chris Ross (ASP.NET)
63c2f43ce5
AuthenticationProperties code cleanup
2018-01-02 11:30:45 -08:00
Chris Ross
32bfa03875
Fix comment and exception typos. ( #983 )
2017-12-28 08:35:04 -08:00
Chris Ross (ASP.NET)
ac702f6818
Add the cookie IsEssential flag and feature
2017-12-27 13:28:12 -08:00
lundog
9aaaefbb1b
Initialize RequestCookieCollection case insensitive ( #981 )
...
* Initialize RequestCookieCollection case insensitive
* Call RequestCookieCollection constructor directly
2017-12-22 11:55:06 -08:00
user1336
db3c3ba589
Ensure HeaderDictionary store is initialized consistently ( #979 )
2017-12-21 08:50:32 -08:00
Justin Kotalik
150bb3faf4
Add BindingAddress to HttpAbstractions ( #977 )
2017-12-18 18:40:11 -08:00
Luke Latham
940c71eaf8
Correct spelling in summary ( #975 )
2017-11-30 13:51:33 -08:00
Chris Ross
476333771c
#955 Print available scheme names in exception message for invalid scheme ( #961 )
2017-11-16 09:17:57 -08:00