Commit Graph

1040 Commits

Author SHA1 Message Date
BrennanConroy e0cd696a99
Merge pull request #1678 from aspnet/release/2.1
Release/2.1
2018-03-21 09:22:36 -07:00
BrennanConroy e889175c0e
Properly wait for process exit for docker helper and log errors (#1667) 2018-03-21 09:21:33 -07:00
David Fowler 6583e5fb47
Improved allocations and throughput for broadcast scenarios (#1660)
- Don't allocate when enumerating connections
- Don't allocate tasks unless we truly go async
- Don't get the timestamp, just write the pings always (if there's no ongoing write)
- Track the time since last keep alive write instead of the last write
- ValueTask all the things!
- Renamed HubConnectionList to HubConnectionStore
2018-03-21 09:03:36 -07:00
Andrew Stanton-Nurse b2bbaa1d32
Merge pull request #1668 from aspnet/release/2.1
clean up test output (#1656)
2018-03-20 17:24:09 -07:00
Andrew Stanton-Nurse a2764109b0
clean up test output (#1656) 2018-03-20 17:23:34 -07:00
BrennanConroy 498ec1597a
Merge pull request #1665 from aspnet/release/2.1
Fix LongPolling retry after poll timeout (#1654)
2018-03-20 14:51:34 -07:00
BrennanConroy 24f07ce791
Fix LongPolling retry after poll timeout (#1654) 2018-03-20 14:51:00 -07:00
Pranav K 49e46832e8
Merge pull request #1664 from aspnet/release/2.1
Merge Release/2.1
2018-03-20 12:07:15 -07:00
Pranav K 88b1cff273 No-op signalr dotnet-ci builds 2018-03-20 12:06:25 -07:00
Pranav K 7606ae42d6 Revert "Remove dotnet-build scripts"
This reverts commit 9992e48c60.
2018-03-20 12:06:25 -07:00
David Fowler 885679c8bd
Made HubEndPoint derive from EndPoint (#1658)
* Made HubEndPoint derive from EndPoint
2018-03-20 08:31:35 -07:00
BrennanConroy 3a3cebb884 Merge branch 'release/2.1' into dev 2018-03-19 22:02:44 -07:00
BrennanConroy b91499b2fc
Cleanup rogue timeout in TS client (#1653) 2018-03-19 22:01:52 -07:00
BrennanConroy 473e578efc
Fix CORS on TS Client (#1652) 2018-03-19 22:01:28 -07:00
James Newton-King 4f10560087
Rename negotiate to handshake, add handshake response, add close frame (#1591) 2018-03-20 17:40:22 +13:00
Andrew Stanton-Nurse 69bce8ff85 Merge branch 'release/2.1' into dev 2018-03-19 20:54:28 -07:00
Andrew Stanton-Nurse 71fd4ffd8a
fix #1542 by removing browser field (#1625) 2018-03-19 20:22:18 -07:00
Pranav K 9992e48c60
Remove dotnet-build scripts 2018-03-19 17:31:38 -07:00
Pranav K 85b12e9fa1
Enable dotnet-build bot 2018-03-19 12:31:55 -07:00
David Fowler 827a9b3f83 Merge branch 'release/2.1' into dev 2018-03-19 08:44:23 -07:00
David Fowler cf7c8629ff
Use ActivatorUtlities.CreateFactory instead of CreateInstance (#1643)
* Use ActivatorUtlities.CreateFactory instead of CreateInstance
- Turns out CreateFactory is much much faster
- Added a benchmark for hub activation
2018-03-19 00:19:54 -07:00
David Fowler 45f4beccb9 Merge branch 'release/2.1' into dev 2018-03-18 22:34:42 -07:00
David Fowler d4d5a08bc2
The payload property was never used (#1641) 2018-03-18 22:34:02 -07:00
David Fowler add81eb7e2
Revert "The payload property was never used (#1639)" (#1640)
This reverts commit c5e2e3499a.
2018-03-18 22:32:51 -07:00
David Fowler c5e2e3499a
The payload property was never used (#1639) 2018-03-18 22:32:36 -07:00
David Fowler 52befc6bc0 Merge branch 'release/2.1' into dev 2018-03-18 20:41:19 -07:00
David Fowler 7df5c87815 Add copyright headers to new files 2018-03-18 15:39:20 -07:00
David Fowler cc0d0e21e4 Revert package-lock.json changes 2018-03-18 15:20:19 -07:00
David Fowler b792fcb4ef
Reduce the per message read allocations (#1635)
- Introduced Utf8BufferTextReader that writes buffers directly into
the char[] allocated by JSON.NET when reading via the JsonReader.
- Use IArrayPool implementation over ArrayPool<char> when reading
incomming messages.
- Replaced JToken parsing with manual parsing using JsonTextReader.
- Added tests for parsing incoming JSON messages with out of order
properties.
- Make access to message headers lazy
- Changed IHubProtocol.TryParseMessage to be ReadOnlyMemory<byte> instead of ReadOnlySpan<byte>
2018-03-18 15:16:03 -07:00
BrennanConroy 8b8c7107a8
Update client-ts versions (#1624) 2018-03-16 17:00:23 -07:00
BrennanConroy 077b17cad8 Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-16 16:59:04 -07:00
Mike Harder 881703e4c0
Upgrade Microsoft.NET.Test.Sdk to 15.6.1 (#1627) 2018-03-16 16:56:52 -07:00
BrennanConroy 9337a63cf5 Fix dependency 2018-03-16 16:55:22 -07:00
BrennanConroy a43a1601c4 Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-16 16:49:59 -07:00
BrennanConroy db0dc0f960
Ignore writeasync failures when sending to multiple connections (#1589) 2018-03-16 16:48:05 -07:00
BrennanConroy 0e38ee3e63
Create connectionIds using RNGCrypto (#1606) 2018-03-16 16:16:34 -07:00
David Fowler 079a56be1a
Small optimizations (#1617)
- Return ValueTask instead of Task from WriteAsync helpers
- Use TryGet instead of foreach to avoid enumerator (though it's just a stack allocation here)
2018-03-16 16:08:11 -07:00
Pranav K 7f54aee51c
Merge branch 'release/2.1' into dev 2018-03-16 12:34:23 -07:00
Pranav K ea1dc99419
Update KoreBuild channel 2018-03-16 12:34:18 -07:00
BrennanConroy 579131e182
Merge pull request #1623 from aspnet/release/2.1
Pascal case formatted log parameter names (#1615)
2018-03-16 12:14:08 -07:00
BrennanConroy c640f422e0
Pascal case formatted log parameter names (#1615) 2018-03-16 12:13:27 -07:00
BrennanConroy 633123ca14
Merge pull request #1622 from aspnet/release/2.1
Perf in MessageParsers (#1616)
2018-03-16 11:41:18 -07:00
BrennanConroy 9839e6b07b
Perf in MessageParsers (#1616) 2018-03-16 11:40:15 -07:00
Pranav K 4b7c84b009
Update version prefix to preview3 2018-03-16 11:28:29 -07:00
Pranav K dc9936ac01
Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-16 11:28:29 -07:00
Pranav K 1eb64712fb
Branching for 2.1.0-preview2 2018-03-16 11:17:18 -07:00
David Fowler 227c6b8133
Use the array unpacker instead of the Stream unpacker (#1619)
- This reduces allocations and improves throughout of msgpack
2018-03-16 09:41:34 -07:00
Mike Harder b0e5483a5c Update .gitattributes to workaround npm changing line endings (#1610) 2018-03-15 19:41:57 -07:00
James Newton-King 2d6077db4a
Removed params from proxy's SendAsync and rename to SendCoreAsync (#1605) 2018-03-16 14:05:22 +13:00
David Fowler d27844dfef
ConnectionMetadata is now ConnectionItems (#1604)
* ConnectionMetadata is now ConnectionItems
2018-03-14 20:57:40 -07:00