Commit Graph

9888 Commits

Author SHA1 Message Date
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
Pranav K cdadfd48d0 Try renaming functional tests as a potential mitigation for long path issues 2017-03-23 11:14:01 -07:00
Pranav K 20dcccd847 Revert "Revert "Change compilation targets.""
This reverts commit 5f76cd272a.
2017-03-23 09:08:05 -07:00
David Fowler f090b7a9c6 React to corefxlab changes (#1539)
- Removed use of TryRead and follow the pin and use pattern in the other APIs

https://github.com/dotnet/corefxlab/pull/1348
2017-03-23 06:52:24 -07:00
Ben Adams ff99c4c865 Fix benchmarks (broken) (#1515)
* Fix benchmarks
* Remove Moq from benchmarks
2017-03-22 18:30:06 -07:00
N. Taylor Mullen 5f76cd272a Revert "Change compilation targets."
This reverts commit 42d34e4559.
2017-03-22 17:22:19 -07:00
Andrew Stanton-Nurse eb0ab115d8 capture wstest log output (#156) 2017-03-22 15:24:36 -07:00
Kiran Challa d2be921ca4 Converted test project to run on netcoreapp2.0 2017-03-22 15:24:04 -07:00
Pranav K 42d34e4559 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-22 14:37:25 -07:00
Nate McMaster f246dd3502 Upgrade test projects to .NET Core 2.0 2017-03-22 11:56:27 -07:00
Andrew Stanton-Nurse 214c41bf40 remove reference to client components in README (#155) 2017-03-22 10:47:41 -07:00
Stephen Halter fffb823e99 Dispose socket in test after synchronous connect 2017-03-22 10:33:38 -07:00
Nate McMaster 13219fafa9 Remove code that moved into CommandLineUtils 2017-03-22 10:19:19 -07:00
Doug Bunting 55507de7dd Disable API Check in a project with untracked breaking changes 2017-03-22 08:33:14 -07:00
David Fowler c65734667a Optimize calls into StreamSocketOuput to WriteFast further (#1538)
* Optimize calls into StreamSocketOuput to WriteFast further
- Added overloads to array, offset, length to avoid implicit conversions to
ReadOnlySpan.
- Use similar optimizations for multi buffer writes for strings and ints
- Use ref locals in multi write instead of pointers and pinning
2017-03-22 02:16:28 -07:00
Cesar Blum Silveira 751a0e2e7e Better checks for connection reset in RequestTests.ConnectionReset* tests (#1517) 2017-03-21 19:35:41 -07:00
Cesar Blum Silveira 72587baac3 Check that MaxRequestBufferSize is greater than or equal to MaxRequestHeadersTotalSize (#1491). 2017-03-21 19:25:56 -07:00
Stephen Halter 6c131ea240 Verify scopeids are connectable using Socket before testing Kestrel (#1536) 2017-03-21 18:31:29 -07:00
Kiran Challa bac161fdd6 Converted test projects to run on netcoreapp2.0 2017-03-21 16:48:25 -07:00
Pranav K 52911cd3f1 Change compilation targets.
* Remove net451 as a compilation target
* Upgrade to netcoreapp2.0
2017-03-21 16:41:15 -07:00
Nate McMaster 849319bcff
React to changes in command line utils 2017-03-21 16:31:29 -07:00
Doug Bunting dd3889869c `StopOnFirstFailure` when doing repository builds
- avoids MSBuild continuing past failed repositories in sequential builds
- ignored when building in parallel (unfortunately)
2017-03-21 15:50:23 -07:00
Nate McMaster 1f8e8fae5d
React to aspnet/Common#205 2017-03-21 15:48:04 -07:00
Nate McMaster b79446ce51
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:17:40 -07:00
Nate McMaster ebd8f61dcb
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:14:12 -07:00
Nate McMaster cac669df3d
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:07:05 -07:00
Nate McMaster 7628d2f634
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 12:05:57 -07:00
Nate McMaster 616f7dcfe7
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 11:46:29 -07:00
Nate McMaster ca5581461c
Update Travis to macOS Sierra
[skip appveyor]
2017-03-21 11:44:08 -07:00
Pranav K f99a0d6b8e Pin DotNetCliToolReferences
Fixes #491
2017-03-21 10:46:35 -07:00
David Fowler 5fad3c7a3e Remove async from WriteAsync in SocketOutput (#1531)
- SocketOutput.WriteAsync will be synchronous for a majority of cases
(until you reach the limit) so no need to pay the async state machine
cost until then.
2017-03-21 09:52:24 -07:00
Ben Adams 32d6b42964 Respond to corefxlab rename (build break) (#1529) 2017-03-21 08:43:49 -07:00
Ben Adams 24ed93288e Use for rather than foreach on List (#1523)
List enumerator is full fat
2017-03-21 03:26:58 -07:00
David Fowler f546f16356 Forgot to WriteFast in SocketOutput (#1527) 2017-03-21 03:21:31 -07:00
David Fowler cf576559b6 Fix write after close (#1526)
- Change Alloc to be a Write with a callback that exposes the WritableBuffer.
This allows the ISocketOutput to implementation to not call the callback if
the underlying socket is dead.
- Added a new functional test
2017-03-20 23:58:26 -07:00
Cesar Blum Silveira 3b40ba52ca Check if request is aborted before verifying response bytes written (#1498). 2017-03-20 16:02:25 -07:00
Stephen Halter 8923b0da70 Use correct config for response buffer limit (#1516) 2017-03-20 15:43:55 -07:00
Nate McMaster 23f4a31d47 React to aspnet/BuildTools#199 2017-03-20 10:25:47 -07:00
David Fowler 39819d6708 Added fast path for single memory ReadableBuffer (#1512)
* Special case single buffer
* Added fast path for single span buffers in UvWriteReq
2017-03-20 00:11:41 -07:00
David Fowler 2ed456fd68 Faster Write implementation using cpblk (#1511)
* Faster Write implementation
- Use Unsafe.CopyBlockUnaligned to copy bytes to the
WritableBuffer. This is temporary until we get newer
corefx bits with a better span.CopyTo implementation.
- Remove WritableBufferExtensions from Performance project
- Split method into WriteFast and WriteMultiBuffer
- Cache the span for the common case where
the buffer is non empty.
- Use ref locals instead of pinning pointers in fast path
2017-03-19 12:44:01 -07:00
David Fowler f1e0143d51 React to corefxlab changes (#1510)
* React to latest CoreFxLab changes
2017-03-19 01:31:11 -07:00
David Fowler f6e5e74d95 Update packages (#1509)
* Update packages
* React to API changes in corefxlab
2017-03-18 15:42:01 -07:00