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
Andrew Stanton-Nurse
2b68db873a
add AddRedis overload that takes connection string ( #1588 )
2018-03-14 16:24:28 -07:00
Andrew Stanton-Nurse
c5d38ae32a
Run browser functional tests in CI builds ( #1487 )
2018-03-14 15:59:56 -07:00
David Fowler
6a8ede0770
Further making Microsoft.AspNetCore.Sockets "not a thing" ( #1599 )
...
- This PR attempts to move things where they are needed instead of where they
happened to be used. As a result we should now have Sockets.Abstractions and
Sockets down to the minimal set of things required to make them run.
Sockets.Abstractions should go away in favor of Protocol.Abstractions and
Sockets contains the EndPoint abstraction and related types.
- Moved ConnectionManager and friends to
Sockets.Http.
-Removed Sockets and moved everything into Sockets.Abstractions.
- Moved DefaultConnection and put it in Sockets.Abstractions.
2018-03-14 15:37:24 -07:00
Andrew Stanton-Nurse
bc6ed02b6e
fix the umd build of msgpack ( #1600 )
2018-03-14 13:40:27 -07:00
BrennanConroy
a3886057d5
Add benchmark application to our repo ( #1579 )
2018-03-14 09:28:50 -07:00
David Fowler
dc0567690d
Use features from Protocol.Abstractions ( #1594 )
...
- This is part of the grand unification of the connection layer between SignalR and Kestrel
2018-03-14 08:17:07 -07:00
Andrew Stanton-Nurse
4fe4757b4a
fix package-lock.json files ( #1592 )
2018-03-13 18:55:56 -07:00
BrennanConroy
62956530ae
Rename StreamAsync to StreamAsChannelAsync ( #1587 )
2018-03-13 15:04:11 -07:00
Andrew Stanton-Nurse
fb6121399c
Remove support for binary over SSE and add transfer format to negotiation ( #1564 )
2018-03-13 14:29:32 -07:00
David Fowler
adb760210d
Minimal reaction to proto abstractions changes ( #1583 )
...
- Doesn't consume new feature interfaces yet.
2018-03-13 10:24:08 -07:00
Andrew Stanton-Nurse
0141d6e4a3
Fix #1580 by correcting README sample ( #1581 )
...
Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
2018-03-13 09:51:34 -07:00
James Newton-King
974eb28b8b
Hub method reflection caching and invocation benchmarks ( #1574 )
2018-03-13 10:30:45 +13:00
James Newton-King
d816c6ef60
Add additional properties to HttpOptions ( #1557 )
2018-03-13 09:46:34 +13:00
BrennanConroy
489bd80b88
Remove threshold from client SSE pipe ( #1577 )
2018-03-12 12:50:42 -07:00
Mikael Mengistu
0b81658850
Add SignalR Marker Service ( #1573 )
2018-03-10 00:58:57 +00:00
James Newton-King
d6178f2482
Fixed streaming hub method with ValueTask ( #1572 )
2018-03-10 12:31:38 +13:00
BrennanConroy
d941a4be09
Workaround automatic Http2 upgrade in POSTs ( #1571 )
2018-03-09 11:43:59 -08:00
Pavel Krymets
4a4efe0f39
Update to new corefx ( #1561 )
2018-03-08 14:23:20 -08:00
Mikael Mengistu
99aa25e4d8
Add Missing File Header ( #1560 )
2018-03-08 19:49:32 +00:00
Mikael Mengistu
adbd964efd
Transport Fallback ( #1455 )
2018-03-08 06:49:03 +00:00
Ryan Brandenburg
98e270ea6a
Exclude utility project from test discovery ( #1556 )
2018-03-07 15:56:39 -08:00
James Newton-King
a41bf6228f
Client sends user agent with version based on assembly version ( #1551 )
2018-03-08 10:25:12 +13:00
James Newton-King
1c44e8febf
Fix streaming hub methods combined with async ( #1544 )
2018-03-07 20:07:06 +13:00
Mikael Mengistu
1b9313287b
Restrict HubProtocol on Server + HubOptions<THub> ( #1492 )
2018-03-07 01:31:56 +00:00
Andrew Stanton-Nurse
0eb2b96c45
Merge remote-tracking branch 'origin/release/2.1' into dev
2018-03-06 15:58:47 -08:00