Commit Graph

18017 Commits

Author SHA1 Message Date
Pavel Krymets 13ee32b7ab Fetch corefx lab sources and compile them into kestrel (#1581) 2017-04-03 13:21:17 -07:00
Pranav K 6a5f7dec10 Investigate System.Reflection.TypeExtensions added to unbreak tests
Fixes #987
2017-04-03 11:55:18 -07:00
Andrew Stanton-Nurse 11de3fd384 Fix issue with remote deployer wait 2017-04-03 08:48:58 -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 915e984f32 increase timeout for remote deployer (#1001)
Turns out it takes a while to deploy to nano server
2017-03-31 14:34:14 -07:00
Andrew Stanton-Nurse 581e207e0f fix build 2017-03-31 13:34:46 -07:00
Andrew Stanton-Nurse 049ee03d22 react to aspnet/Hosting#996 (#769) 2017-03-31 13:30:20 -07:00
Andrew Stanton-Nurse 676590eb32 react to aspnet/Hosting#996 (#349) 2017-03-31 13:22:51 -07:00
Andrew Stanton-Nurse 9b598201ff react to aspnet/Hosting#996 (#67) 2017-03-31 13:22:09 -07:00
Chris R 975cfcb8ce #16 Create a lightup package for Application Insights 2017-03-31 12:01:45 -07:00
Hao Kung 13925be91e Initial Auth 2.0 checkin 2017-03-31 11:56:20 -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
Andrew Stanton-Nurse b4b671556a fix nginx deployer (#998)
* fix nginx deployer

* pr feedback
2017-03-30 15:31:07 -07:00
Chris R c3a01be904 #9 Add Lightup package and sample. Remove IISIntegration. 2017-03-30 11:54:47 -07:00
Andrew Stanton-Nurse 7774ed50fa additional checks and logging for iisx shutdown (#997) 2017-03-30 11:48:24 -07:00
John Luo 4cdc970055 Server addresses configuration enhancements
Add PreferHostingUrls to IServerAdressesFeature

Add extension to IWebHostBuilder to set this flag
2017-03-30 10:16:47 -07:00
Andrew Stanton-Nurse f15c99c980 more logging and more resiliant port selection (#996) 2017-03-30 09:46: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
Pavel Krymets 7890fdbf94 Add Activity tracking to HostingApplication (#964) 2017-03-29 15:36:48 -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 e0c3738779 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:37 -07:00
Pranav K bfd1d48506 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:37 -07:00
Pranav K f73dc5cebe Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:37 -07:00
Pranav K 1d1b255170 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:37 -07:00
Pranav K eb25f5d6ff Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:36 -07:00
Pranav K 305ccf9cc5 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:36 -07:00
Pranav K ba5156d3e1 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:36 -07:00
Pranav K afef0e3e2a Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:35 -07:00
Pranav K 99ff496e71 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:34 -07:00
Pranav K 5f161fb51f 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 a0bb843dd5 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:33 -07:00
Pranav K db7095bc90 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:33 -07:00
Pranav K 2e3c35b863 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:33 -07:00
Pranav K 68647d1733 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00
Pranav K e4e62b3156 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00
Pranav K 7fa3babfb4 Updating to 2.0.0 Internal.AspNetCore.Sdk 2017-03-29 11:30:32 -07:00