Commit Graph

19407 Commits

Author SHA1 Message Date
Stephen Halter 47323a88e1 Surface errors from Listener.StartAsync better
If CreateListenSocket fails, surface the original error instead of throwing a
NullReferenceException from Listener.Dispose().

#185
2015-09-16 18:19:01 -07:00
Stephen Halter 2d01f2752b Catch and log uv_accept errors
- This is also what is done by node.js
- "tcp, pipe: don't assert on uv_accept() errors (Ben Noordhuis)"

0685707bc6
2015-09-16 18:18:58 -07:00
Stephen Halter f14af1f409 Don't swallow too many exceptions
- Swallowing too many exceptions can end up hiding issues in
  Kestrel itself. It's better to let the process die.
- If we want to handle certain exceptions we should be as
  specific as possible with our try/catch blocks.
2015-09-16 18:18:55 -07:00
Ryan Nowak 47866ac5db React to renames from Auth 2015-09-16 17:21:01 -07:00
Ryan Nowak 3382b82e5e Fix breaking changes 2015-09-16 16:46:18 -07:00
David Fowler 82f58d5f16 CR Feedback 2015-09-16 15:01:22 -07:00
David Fowler 9b061ececb Dispose the service provider on app shutdown
- Added a unit test

#322
2015-09-16 14:52:54 -07:00
Chris R 6758010e1a #353,#354 Add telemetry for begin/end request and unhandled exceptions. 2015-09-16 11:01:29 -07:00
Ryan Nowak e56c3806b6 Add tests for HtmlContentBuilderExtensions 2015-09-15 23:45:44 -07:00
Ryan Nowak 7ef2242805 Extension methods for IHtmlContentBuilder
Resolves a bunch of duplication between TagHelperContent and
BufferedHtmlContent, plus adds a few more convenience overloads we don't
have in one of the two places.
2015-09-15 16:50:01 -07:00
Nate McMaster e3458ceb1b Add libuv to travis ui build script 2015-09-15 16:28:17 -07:00
Nate McMaster d162fff906 Temporary workaround for https://github.com/aspnet/EntityFramework/issues/3144 2015-09-15 15:33:02 -07:00
Kiran Challa 5008e2743d Removed style cop related shade files 2015-09-15 14:19:00 -07:00
Glenn Condron 1d06f1f935 Merge pull request #925 from mariusGundersen/patch-1
Removed dot from dnx run command
2015-09-15 12:49:15 -07:00
Chris R 2e225b0db6 Hosting#331 Add IServerAddressesFeature. 2015-09-15 12:47:18 -07:00
Doug Bunting 22952e1806 Add `restoreDir` parameter in `_k-restore.shade`
- enables use of this command where it's currently overridden
- in turn, this means `--quiet` would be honoured in those `makefile.shade` files

For example can use this hook to shut DNX build up a bit
- `makefile.shade` there calls `dnu restore` directly and ignores `--quiet`
2015-09-15 11:58:48 -07:00
Chris R 10176373c8 #351 Display hosting environment name and listening addresses on console. 2015-09-14 16:19:07 -07:00
Chris R bda0386a93 #331 Add IServerAddressesFeature. 2015-09-14 16:19:06 -07:00
Hao Kung da3c513ad4 React to security changes 2015-09-14 15:07:23 -07:00
Ryan Nowak 52cfdf75f2 Add AppendEncoded to the builder
This is needed because a builder may have an optimized path for an
unencoded string. There's also no 'common' encoded string implementation
so it's much more straightforward to put this on the interface.
2015-09-14 11:58:38 -07:00
Pranav K 896c146e24 Replacing NotNullAttribute with thrown exceptions 2015-09-14 11:48:07 -07:00
Kiran Challa bfe1de4819 React to Cors api changes 2015-09-14 11:08:11 -07:00
Eilon Lipton 276e918e7a Merge pull request #61 from hishamco/using
Remove unnecessary 'Cache' usings
2015-09-14 10:48:53 -07:00
Marius Gundersen aa37d8c776 Removed dot from dnx run command
The dot (current folder) isn't needed when using the latest dnx
2015-09-14 18:10:09 +02:00
David Fowler 7a24045953 Split ParsingHelpers classes into their own files
#397
2015-09-13 22:07:17 -07:00
Hisham Bin Ateya c2a267b2df Remove unnecessary 'Cache' usings 2015-09-13 02:10:04 +03:00
Hao Kung 2bd83e1589 ConfigureSession => AddSession overload 2015-09-11 14:16:13 -07:00
moozzyk d59fa774a8 Updating licenses 2015-09-11 10:22:16 -07:00
Pranav K 98af679b0b Adding NeutralResourcesLanguageAttribute 2015-09-10 18:45:23 -07:00
Ryan Nowak ed3ea33918 Add IHtmlContentBuilder interface
Common interface for things that allow appending content (TagBuilder,
BufferedHtmlContent). We want to be able to expose this from APIs for
users to add content.

See discussion: https://github.com/aspnet/Mvc/issues/3087
2015-09-10 18:41:17 -07:00
Pranav K 8b3f1ece83 Adding NeutralResourcesLanguageAttribute 2015-09-10 18:35:41 -07:00
Pranav K dfaf6bb2ff Adding NeutralResourcesLanguageAttribute 2015-09-10 18:34:29 -07:00
Pranav K 78de14d248 Adding NeutralResourcesLanguageAttribute 2015-09-10 18:15:27 -07:00
Pranav K b1a2db0a7c Adding NeutralResourcesLanguageAttribute 2015-09-10 17:48:17 -07:00
Pranav K 3e6585dcc8 Adding NeutralResourcesLanguageAttribute 2015-09-10 17:38:16 -07:00
Pranav K 5bf429d212 Adding NeutralResourcesLanguageAttribute 2015-09-10 16:41:24 -07:00
ASP.NET Push Bot f1c6231067 ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@4f0b099409
2015-09-10 16:31:31 -07:00
ASP.NET Push Bot 063e40da8a ⬆️ dnvm.ps1, dnvm.cmd, dnvm.sh
Source: aspnet/dnvm@69bc83e979
2015-09-10 15:44:00 -07:00
Stephen Halter 958cc3eca3 Add missing arguments to LogDebug arguments in KestrelTrace 2015-09-10 12:40:16 -07:00
Kiran Challa eae4cdaa32 React to errorhandler and errorpage extension name changes 2015-09-10 12:14:53 -07:00
Kiran Challa 77a8eca1fd React to errorhandler and errorpage extension name changes 2015-09-10 12:10:56 -07:00
Stephen Halter 813127e7f6 Merge branch 'benaadams/negative-threads' into dev 2015-09-10 11:58:09 -07:00
Stephen Halter ec88e57f67 Remove commented code in KestrelTrace 2015-09-10 11:41:27 -07:00
Stephen Halter 1ebf98d40d Log message style changes
- Disabled some log messages for possibly being too verbose.
- Don't log ConnectionReadFin when there is an error.
2015-09-10 11:41:25 -07:00
Stephen Halter 0ef096b41c Increment connection id for logging 2015-09-10 11:41:22 -07:00
Chris R 327dabb243 Fix namespace for Clear extension. 2015-09-10 11:35:22 -07:00
Chris R 00d5a056d9 #360 Add Response.Clear() extension. 2015-09-10 11:30:42 -07:00
Chris R 18a2663531 React to Authentication API changes. 2015-09-10 10:18:52 -07:00
Kiran Challa 7f25096dda React to RazorPreCompileModule changes 2015-09-10 08:32:21 -07:00
Ben Adams dda5774a8b Throw exception if ThreadCount negative 2015-09-10 08:03:42 +01:00