Commit Graph

1761 Commits

Author SHA1 Message Date
Pranav K 9abdd3883d
Use dotnet-core feed in repos 2018-03-06 10:04:38 -08:00
David Fowler c88f949c39
Be explicit about PipeScheduler.Inline (#2367) 2018-03-06 09:58:14 -08:00
Stephen Halter b86df651af
Fix Http2ConnectionTests flakiness (#2364)
- The default PipeScheduler got switched from Inline to ThreadPool.
- This switches the Http2ConnectionTests PipeSchedulers back to ThreadPool.
2018-03-05 16:28:35 -08:00
Nate McMaster aa0ec53f76
Merge branch 'release/2.1' into dev 2018-03-02 14:27:00 -08:00
Mike Harder 0f6ba66e46
Add InMemoryTransportBenchmark (#2354) 2018-03-02 12:38:32 -08:00
Pavel Krymets d476886803 Upgrade dependency versions 2018-03-02 09:51:29 -08:00
Ben Adams 300453396a Pass StringValues via in (#2295) 2018-02-28 19:54:44 -08:00
Pavel Krymets 2c108d9ba1
React to pipes in corefx (#2337) 2018-02-28 12:41:51 -08:00
ASP.NET CI a3911269c5 Update dependencies.props
[auto-updated: dependencies]
2018-02-26 11:06:51 -08:00
Justin Wyer 83bf2375b3 #2035 Do not await OnCompleted handlers before sending the Response (#2324) 2018-02-25 18:10:04 -07:00
Stephen Halter 06945ba81e Include exceptions when displaying test logs (#2346) 2018-02-24 16:51:57 -08:00
Stephen Halter 0134e56909 Include exceptions when displaying test logs (#2344) 2018-02-23 22:22:00 -08:00
Ben Adams de7e2a2573 Use enum for method rather than string compares (#2294) 2018-02-23 14:29:42 -08:00
Nikita Tsukanov 39951e892e Don't throw in HttpRequestStream.Flush (#2342)
Because read-only streams apparently can have Flush semantics and this behavior is expected by some of built-in stream wrappers (e. g. CryptoStream)

https://github.com/dotnet/corefx/pull/27327#pullrequestreview-98384813
https://github.com/aspnet/KestrelHttpServer/issues/2341
2018-02-23 09:51:09 -08:00
Ben Adams 6728e756b7 Sanitize and centralize exception throws (#2293)
* Sanitize and centralize exception throws
2018-02-23 09:24:20 -08:00
Ben Adams 6252ffd86a Flatten exception handling (#2313)
3 nested try blocks with 3 finallies in same function O_o
2018-02-22 16:46:18 -08:00
Ben Adams c57784447e Speed up TryGetAsciiString (#1973)
* Widen
* Remove TryGetAsciiStringVectorCheckShifts
* Add Span version to benchmarks
2018-02-22 16:45:31 -08:00
Ben Adams c0f88ebdc1 Faster IFeatureCollection.Get<TFeature> (#2290) 2018-02-22 16:44:38 -08:00
Pavel Krymets d996f6b7fc
Drop Pipelines.Testing dependency that we don't use (#2343) 2018-02-22 10:27:47 -08:00
Pranav K dbbbaf8e4b Use FeatureBranchVersionSuffix when generating VersionSuffix 2018-02-21 18:27:01 -08:00
David Fowler 3fc69dc71f
Updated Streams to override Memory and Span overloads (#2333)
- Also plumbed Memory/Span through Kestrel over ArraySegment.
- Throw synchronously from the HttpRequestStream instead of async in some cases.
2018-02-21 00:00:46 -08:00
brightcr a72e5db797 Removed code to set response headers - connection and upgrade as it should be set by caller e.g. WebSockets Middleware (#2329) 2018-02-19 08:36:28 -08:00
ASP.NET CI 47109ebcce Update dependencies.props
[auto-updated: dependencies]
2018-02-18 12:22:55 -08:00
David Fowler da6325251e Revert "Remove check for above debug logs"
This reverts commit 38a4560e1c.
2018-02-17 09:40:42 -08:00
David Fowler 38a4560e1c Remove check for above debug logs 2018-02-17 09:39:59 -08:00
Ben Adams 1f8591184e Use ReferenceEquals not MulticastDelegate.equals (#2330)
It never inlines because its such a chunky method
2018-02-17 08:13:15 -08:00
Mike Harder 07026cf6db
Re-enable test ParseRequestLineSplitBufferWithoutNewLineDoesNotUpdateConsumed (#2328)
- Addresses #2243
2018-02-16 17:11:27 -08:00
Mike Harder 4afaa386db
Remove unnecessary usings (#2326) 2018-02-16 14:04:16 -08:00
Stephen Halter d78e7ea80d
Fixed race in sockets transport (#2279) (#2322) 2018-02-15 14:05:45 -08:00
Alessio Franceschelli 14332c5daf Allows Content-Length for 304 Not Modified response (#2321) 2018-02-14 16:01:07 -08:00
Alessio Franceschelli 9341f72b8d Consumes request before closing connection (#2314) 2018-02-14 11:46:13 -08:00
ASP.NET CI b0673337e9 Update dependencies.props
[auto-updated: dependencies]
2018-02-11 12:29:52 -08:00
Ben Adams f65e89294d Add Plaintext sample (#2312) 2018-02-10 13:18:21 -08:00
David Fowler 2156030460
Clean up some of protocol abstractions (#2311)
* Clean up some of protocol abstractions
- Renamed PipeConnection to DuplexPipe
- Removed MemoryPool from ConnectionContext
- Work around value tuple issue on net471
2018-02-10 10:39:21 -08:00
ASP.NET CI 7098c8d07d Update dependencies.props
[auto-updated: dependencies]
2018-02-09 11:48:37 -08:00
Nate McMaster 0608de37dc Upgrade dependencies to 2.1.0-preview1-28258
[auto-updated: dependencies]
2018-02-09 08:35:12 -08:00
Joshua Clark 5dd590e75e Add clearer exception message to HttpResponseStream ODE (#2305) 2018-02-08 17:28:00 -08:00
Redouane Sobaihi 8f25c4e8ca Include limits default values in intellisense comments. (#2304) 2018-02-08 11:37:01 -08:00
Ryan Brandenburg 93b10d9060 Shorten logger to prevent longpath 2018-02-02 16:03:01 -08:00
Nate McMaster a5f78264f4 Update dependencies.props to 2.1.0-preview-28193, build tools to 2.1.0-preview1-1010 [ci skip]
Scripted changes:
- updated travis and appveyor.yml files to only build dev, ci, and release branches
- updated dependencies.props
- updated korebuild-lock.txt
- updated korebuild.json to release/2.1 channel
2018-01-31 15:01:12 -08:00
Ryan Brandenburg 9c2158fd37 Skip flaky test 2018-01-31 14:23:14 -08:00
Pavel Krymets 5e6b901a12 Update dependencies 2018-01-31 12:41:42 -08:00
Pavel Krymets 261b5836c1 Merge release/2.1 2018-01-30 09:39:33 -08:00
Pavel Krymets a84095e5c3
React to pipelines changes (#2275) 2018-01-29 14:34:48 -08:00
David Fowler 8ea181f088
Use the OnWriterCompleted and OnReaderCompleted events directly. (#2280) 2018-01-29 14:27:47 -08:00
David Fowler 50b396cec6
Fixed race in sockets transport (#2279)
- Based on the changes you made earlier (f4d27e6), we trigger OnConnectionClosed before the socket is disposed in the SocketTransport. This moves the call to Output.Complete to happen after and thus fixes the race.
2018-01-29 12:41:45 -08:00
Javier Calvarro Nelson bbe8851f32 Merge branch 'release/2.1' into dev 2018-01-26 12:55:48 -08:00
Javier Calvarro Nelson 8280c1b73f Update Kestrel HTTPS developer certificate error message 2018-01-26 12:55:15 -08:00
Ryan Brandenburg e3b70db278 Preview2 2018-01-25 09:36:03 -08:00
Stephen Halter 30a68dec49
Fix flakiness in address-in-use test (#2267)
* Increase test timeouts
* Use constant for default test timeout.
2018-01-24 17:42:49 -08:00