Andrew Stanton-Nurse
319f95db5e
netcoreapp20 ( #173 )
2017-05-04 19:26:46 -07:00
Stephen Halter
557cf29e4a
arespr/knownmethods-optimizations cleanup
2017-05-04 12:27:22 -07:00
Stephen Halter
f464760bf8
Merge branch 'arespr/knownmethods-optimizations' into dev
2017-05-04 11:44:54 -07:00
David Fowler
9072e0ba26
Added a ConnectionAbortedException to Transport.Abstractions ( #1806 )
...
* Added a ConnectionAbortedException to Transport.Abstractions
- To avoid hard coding TaskCanceledException in each transport
- This PR tries to keep compatibility by converting the ConnectionAbortedException
to a TaskCanceledException on exceptions in FrameRequestStream. The downside is that
this conversion causes an async state machine to be created per call to ReadAsync.
CopyToAsync isn't that bad because it's a single long running task.
2017-05-03 19:38:34 -07:00
David Fowler
b21f84543a
Use WebHostBuilder as an implementation detail of TestServer ( #1804 )
...
- This will make tests run more similarly so we can swap out the
transport more easily.
2017-05-03 19:35:09 -07:00
Mike Harder
a23a255e2e
Fix whitespace.
2017-05-03 11:43:39 -07:00
Mike Harder
cfc41d3845
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-03 11:42:10 -07:00
Mike Harder
db517803c8
Move System.Data.SqlClient version from csproj to dependencies.props ( #293 )
2017-05-03 11:30:51 -07:00
Pranav K
33fddca251
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:02:53 -07:00
Pranav K
6c0c31640f
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:02:14 -07:00
Pranav K
f0a3b2943c
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:02:12 -07:00
Pranav K
b6f4e52000
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:02:10 -07:00
Pranav K
9c9468f956
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:02:00 -07:00
Pranav K
bdd3ff6d0e
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:01:46 -07:00
Pranav K
8aeca90757
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-05-01 22:01:41 -07:00
Pranav K
88461902cd
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 20:54:50 -07:00
Nate McMaster
53caf55116
Remove unnecessary null check.
...
Resolves #210
2017-05-01 16:25:44 -07:00
David Fowler
35b5d92652
Fix EBUSY errors on uv_loop_close ( #1798 )
...
* Fix race where ListenerPrimary is disposed before secondary listeners spin up
- Since we only add listeners to dispatch pipes after receiving the "ack" message
it's possible to have pipes that were created but not acked yet. We might miss
disposal of those pipes if they were never added to the list of _dispatchPipes.
#1761
2017-05-01 14:55:32 -07:00
Nate McMaster
edcba47b84
Merge branch 'rel/1.0.1' into dev
2017-05-01 14:55:24 -07:00
Nate McMaster
ed07fbe94a
Remove blocking call to stream reader and fix bug in task chaining
2017-05-01 12:48:11 -07:00
Pranav K
2f7fd9897e
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:40:24 -07:00
Pranav K
4628a2ff4e
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:39:39 -07:00
Pranav K
f9cd44d780
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:39:37 -07:00
Pranav K
aa4bef0f54
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:39:26 -07:00
Pranav K
d277144cb3
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:39:14 -07:00
Pranav K
e70ee8ab6e
Use the bundled NETStandard.Library package in netstandard targeting libraries
2017-05-01 12:39:07 -07:00
Stephen Halter
4dd4a573e6
Merge branch 'rel/2.0.0-preview1' into dev
2017-05-01 12:21:12 -07:00
Stephen Halter
0afb874555
Fix flaky tests that bind to discovered IP addresses ( #1795 )
2017-05-01 12:20:53 -07:00
Stephen Halter
6a3d6d4273
Fix flaky tests that bind to discovered IP addresses ( #1795 )
2017-05-01 11:41:10 -07:00
Nate McMaster
4dc7946cd8
Implement new request trace identifier format
...
The format:
The trace identifier begins with connection ID and ends with a number that increments with each request per connection.
Example:
Connection ID = xyz
Request 1 = "xyz:00000001"
Request 2 = "xyz:00000002"
...
Request 15 = "xyz:0000000F"
Request 16 = "xyz:00000010"
2017-05-01 09:50:47 -07:00
Florian Greinacher
3375cf0e28
Update README.md ( #1799 )
...
Kestrel is not (only) libuv-based anymore :)
2017-04-30 11:00:31 -07:00
David Fowler
9a5d6c8879
More shutdown tweaks ( #1760 )
...
* More shutdown tweaks
- Added assert if loop has ended before starting the shutdown
sequence.
2017-04-29 01:15:10 -07:00
Stephen Halter
7122b6c4aa
Fix flaky heartbeat test ( #1794 )
2017-04-29 00:42:27 -07:00
David Fowler
749e282102
Prepare for OnReader/WriterCallbacks changes ( #1791 )
...
- This change does a few things:
1. It adds the events we will replace with
pipe events to IConnectionContext and IConnectionInformation to get out of
band notifications about pipe completions.
2. It also implements those callbacks
and exposing slight changes we'll need to make once we have them. The idea is
that we can delete/replace these methods once we have the new pipe API and things
will keep working.
2017-04-29 00:41:48 -07:00
Nate McMaster
f23ba913db
Skip dotnet-watch functional tests while we investigate CI hangs
2017-04-28 14:03:27 -07:00
Nate McMaster
88f43ffc1a
Fix race conditions between CTRL+C and RunAsync in dotnet-watch
...
Increase timeouts in testing dotnet-run and improve verbosity of test logging
2017-04-28 10:34:18 -07:00
Cesar Blum Silveira
3b2d0a52f3
Merge branch 'rel/2.0.0-preview1' into dev
2017-04-28 10:00:17 -07:00
Cesar Blum Silveira
9185deecda
Avoid port conflicts in AddressRegistrationTests ( #1721 ).
2017-04-28 09:56:29 -07:00
David Fowler
cfad8051d5
Merge branch 'rel/2.0.0-preview1' into dev
2017-04-27 21:00:46 -07:00
David Fowler
0e372edb2c
Removed UseTransportThread ( #1781 )
2017-04-27 20:59:50 -07:00
Cesar Blum Silveira
c3d3a91571
Merge branch 'rel/2.0.0-preview1' into dev
2017-04-27 18:08:40 -07:00
Cesar Blum Silveira
005b884b7d
Build rel/ branches on Travis and AppVeyor.
2017-04-27 18:07:57 -07:00
David Fowler
5b62024fc8
* Properly handle FINs and resets in the SocketConnection ( #1782 )
...
- FIN from the client shouldn't throw
- Forced close from the server should throw
- Properly wrap connection reset exceptions and other exceptions
in IO exceptions
- This gives kestrel control over when the output closes
- Fixed one test that assumed libuv
- Dispose the connection to yield the reader
Fixes #1774
2017-04-27 17:55:35 -07:00
Stephen Halter
4799c0e423
Merge branch 'rel/2.0.0-preview1' into dev
2017-04-27 16:59:00 -07:00
Stephen Halter
79ea2bb9b3
Quick fix for SslStream ODEs in HttpsAdaptedConnection.PrepareRequest ( #1786 )
2017-04-27 16:56:07 -07:00
Nate McMaster
add3d93101
⬆️ RuntimeFrameworkVersion to 1.0.5
2017-04-27 14:52:32 -07:00
Mike Harder
4569b0e4de
Merge remote-tracking branch 'origin/rel/2.0.0-preview1' into dev
2017-04-27 13:38:01 -07:00
Mike Harder
3a248e22c8
Upgrade System.Data.SqlClient to 4.4.0-* ( #287 )
...
- Addresses "SqlClient fails with netcoreapp2.0 on Win7/Server2008" (https://github.com/dotnet/corefx/issues/18406 )
- Revert if and when $(CoreFxVersion) is upgraded to 4.4.0-*
2017-04-27 13:37:20 -07:00
David Fowler
0755495ce5
Remove Logging dependency from the http parser ( #1780 )
...
* Remove Logging dependency from the http parser
2017-04-27 08:46:08 -07:00
Nate McMaster
c2f15fcac3
Move user-facing strings into resource files
2017-04-26 17:22:55 -07:00