Commit Graph

7429 Commits

Author SHA1 Message Date
Pavel Krymets fd5f3a771c React to corefxlab changes (#1602) 2017-04-03 20:20:39 -07:00
Stephen Halter f5d7caa9fa Remove swp file (#1601) 2017-04-03 16:27:37 -07:00
Sourabh Shirhatti 5854e03ddc Update Korebuild and dependency versions (#85)
Merging
2017-04-03 16:06:25 -07:00
Cesar Blum Silveira 6bd0344880 Add Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions project (#1582).
- Changes the design to have one ConnectionHandler per endpoint.
2017-04-03 15:09:03 -07:00
Stephen Halter f285b18f08 Ensure no data is written to a connection after uv_shutdown (#1600) 2017-04-03 14:58:43 -07:00
Pavel Krymets c7113e1c60 Revert "Fetch corefx lab sources and compile them into kestrel (#1581)"
This reverts commit 13ee32b7ab.
2017-04-03 14:08:27 -07:00
Pavel Krymets 13ee32b7ab Fetch corefx lab sources and compile them into kestrel (#1581) 2017-04-03 13:21:17 -07:00
David Fowler f787c5277c Remove unused span (#1599) 2017-04-02 23:53:49 -07:00
David Fowler 547ad80a27 Don't update consumed if we didn't see a new line (#1592)
* Don't update consumed if we didn't see a new line
- The start line parser incorrectly updated the consumed cursor
when it attempted to find new lines across buffers. This change fixes
that and also removes passing the span by reference (which will be illegal).
- Added a unit test
2017-04-02 00:03:06 -07:00
Nate McMaster 83958886cc
Implement IHttpRequestIdentifierFeature on Frame
This feature generates a unique ID per request. This unique ID can be
used in event source and logging.

Also, this change improves KestrelEventSource by moving it back into the
Kestrel.Core assembly and de-coupling from the Libuv transport. This
adds two new events, RequestStart and RequestStop, which can be used to
identify the correlation between connection ID and request trace
identifier.
2017-03-31 16:54:35 -07:00
Andrew Stanton-Nurse 581e207e0f fix build 2017-03-31 13:34:46 -07:00
Andrew Stanton-Nurse 676590eb32 react to aspnet/Hosting#996 (#349) 2017-03-31 13:22:51 -07:00
Cesar Blum Silveira 6b9d54265f Call ProduceEnd() before consuming request body if response has already started (#1530). 2017-03-31 11:08:55 -07:00
Ryan Nowak 0ab49f4977 Fix benchmarks on netcoreapp2.0 2017-03-31 10:39:55 -07:00
David Fowler b4cec03f65 Update libuv package (#1577)
- The latest libuv package has a new linux RID that should
let us remove the work around with setting the RID
in the docker file and systemd service
2017-03-31 10:19:27 -07:00
David Fowler 1bf9b057d4 Converted test projects to run on netcoreapp2.0
* Converted test projects to run on netcoreapp2.0
* Set DOTNET_RUNTME_ID because of an issue in corehost and RID calculation.
2017-03-31 02:58:18 -07:00
David Fowler b0bd5475cd More decoupling (#1572)
- Remove Libuv and Hosting dependency from Kestrel.Core
- Kestrel.Https and Kestrel.Core depend on Hosting.Abstractions

* wip

* Added separate ServerAddressesFeature

* Review feedback
- Added TlsConnectionFeature to Https
2017-03-30 20:14:50 -07:00
David Fowler c3ad007b0d Fixed regression caused by transport refactoring (#1573)
* Fixed regression caused by transport refactoring
- Libuv should not close the socket until it has started it. Before this was enforced
by calling ReadStart before starting the frame but the flow has changed. Now that closing the connection
is communicated via the pipe, we need to start consuming writes after calling ReadStart.
- Renamed OnSocketClosed to Close and moved dispose and logging into that method.

Fixes #1571
2017-03-30 09:33:28 -07:00
Cesar Blum Silveira 1be31ae2ce Throw if UseUrls specifies HTTPS or path base (#1519). 2017-03-29 20:23:51 -07:00
Cesar Blum Silveira e64bffd25c Remove deprecated property KestrelServerOptions.MaxRequestBufferSize (#1027). 2017-03-29 20:15:08 -07:00
Nate McMaster 6b6a8347cc
Add Connection as a primary request header 2017-03-29 16:40:50 -07:00
Nate McMaster 686829d226
Add tests for WritableBuffer extensions and rename WriteAscii => WriteAsciiNoValidation 2017-03-29 16:10:31 -07:00
Stephen Halter 7f785588ef Transport agnostic kestrel refactoring (#1551)
- Add transport interfaces
- Create separate Core and Libuv projects

#828
2017-03-29 16:06:05 -07:00
Hao Kung 0e6db5af0f Bump to netstandard1.1 for options 2017-03-29 14:32:35 -07:00
Nate McMaster 792b71dbcb Add VS Code settings (#1556)
[ci skip]
2017-03-29 12:18:03 -07:00
Pranav K bfd1d48506 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:37 -07:00
Pranav K 99ff496e71 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:34 -07:00
Pranav K a06a765cf4 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:34 -07:00
Pranav K 7dd9d69fe1 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:34 -07:00
Pranav K 2e3c35b863 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:33 -07:00
Pranav K e4e62b3156 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00
Pranav K 679a0e60f7 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00
Pranav K 200d8debc0 Use the SDK version of GetOSPlatform 2017-03-28 14:27:54 -07:00
Kiran Challa ab6e74f4b4 Upgraded Json.NET version to 10.0.1 2017-03-28 10:24:16 -07:00
Chris R d6322872ed #348 Implement IISHostingStartup 2017-03-27 15:54:34 -07:00
Andrew Stanton-Nurse 9254856007 IIS tests are just too flaky, disable them (#158) 2017-03-27 12:31:39 -07:00
Kiran Challa 71d09dc15c Using PackagePublisher tool to publish packages as it does retries 2017-03-27 10:50:37 -07:00
Cesar Blum Silveira db7348e776 Fix flakiness in WhenAppWritesLessThanContentLengthButRequestIsAbortedErrorNotLogged. 2017-03-27 10:10:28 -07:00
John Luo 4334fe19f2 Clean up test skip conditions 2017-03-25 22:00:13 -07:00
Doug Bunting 0e8b790a08 Disable API Check for these command-line tools 2017-03-25 15:30:49 -07:00
John Luo 4351a3e448 Fix build (#345)
Launch tests in CoreCLR or CLR where appropriate
2017-03-24 16:50:38 -07:00
Cesar Blum Silveira 47f1db20e0 Fix races on port acquisition in AddressRegistrationTests (#1520). 2017-03-24 16:46:40 -07:00
Pranav K f66753cc3c Remove net451 as a cross-compile target 2017-03-24 16:01:41 -07:00
David Fowler 0f28c49c5e Fix the invalid usages of Span<T> (#1549) 2017-03-24 11:06:16 -07:00
Pranav K 9a7abcd902 Remove net451 as a cross-compile target 2017-03-24 07:56:01 -07:00
Pranav K d6d13a0986 Remove net451 as a cross-compile target 2017-03-24 07:44:11 -07:00
Cesar Blum Silveira 3e6303b6c1 Fix flakiness in connection reset logging tests. 2017-03-23 21:52:29 -07:00
Pranav K 91406009d3 Remove net451 as a cross-compile target 2017-03-23 17:20:12 -07:00
Kiran Challa bb7b58321c Converted samples and test projects to run on netcoreapp2.0 2017-03-23 17:05:16 -07:00
Pranav K adcc6e8d7b Renaming FunctionalTests project in repo.props 2017-03-23 14:35:15 -07:00