Commit Graph

988 Commits

Author SHA1 Message Date
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
Andrew Stanton-Nurse 68f58a8dd5
Fixes for NPM packages in preview1 (#1540) 2018-03-06 15:14:42 -08:00
Andrew Stanton-Nurse 5fcfd67e84
update dependencies so release/2.1 can build (#1539) 2018-03-06 10:49:01 -08:00
Pranav K a1a9154a5c
Prepend FeatureBranchVersionPrefix if FeatureBranchVersionSuffix is specified 2018-03-06 10:06:19 -08:00
Pranav K c56129f2fc
Use dotnet-core feed in repos 2018-03-06 10:06:19 -08:00
David Fowler 8eff01b156
Update korebuild (#1535) 2018-03-06 10:05:18 -08:00
James Newton-King 846432c9ac
Improve unexpected server error message to client (#1532)
* Improve unexpected server error message to client

* Separated expected vs unexpected errors in error message. Fixed broken tests

* Fix ts functional tests
2018-03-06 22:11:46 +13:00
James Newton-King 00da533f10
NPM troubleshooting documentation (#1529) 2018-03-06 10:41:51 +13:00
Nate McMaster 9786e28f52
Merge branch 'release/2.1' into dev 2018-03-02 14:20:16 -08:00
Pavel Krymets e71bfb99e8 Upgrade dependency versions 2018-03-02 09:54:26 -08:00
Olof Dahlbom af9974178b Added test (#1517)
Added test for removal of map key in this.methods in HubConnection
2018-03-01 09:34:28 -08:00
BrennanConroy 569c31bc62
Add some more logging (#1510) 2018-02-28 14:11:59 -08:00
Andrew Stanton-Nurse 9c74991ad6
set the RID for tests in netfx (#1516) 2018-02-28 14:09:11 -08:00
Pavel Krymets 8908eec6e7
Pipelines in corefx (#1501) 2018-02-28 12:42:01 -08:00
Andrew Stanton-Nurse 13b25ec518
Reduce detailed payload logs to trace (#1515) 2018-02-28 10:46:44 -08:00
Olof Dahlbom c4eb501343 Emit warnings after off is called (#1513)
* Emit warnings after off is called

If a handler has been registered, and then gets unregistered, the key/methodname still exists in the map and signalr does not warn about a missing handler. Might be by design, but I like it this way.
2018-02-28 10:10:13 -08:00
BrennanConroy 5cc4f315cb
Fix install text (#1506) 2018-02-27 14:55:11 -08:00
BrennanConroy 1790d6bdf0
Serialize once per format to increase perf in broadcasting scenarios (#1498) 2018-02-27 14:55:00 -08:00
Mikael Mengistu a69d2fedaf
Update the TS Client Poll Timeout (#1499) 2018-02-27 16:53:44 +00:00
BrennanConroy 8594d2b897
Use Threadpool for pipe scheduler (#1497) 2018-02-26 14:07:46 -08:00
David Fowler b60e4cfea6
Removing remnants from the days of OPTIONS (#1495) 2018-02-26 14:05:55 -08:00
ASP.NET CI c703bb651d Update dependencies.props
[auto-updated: dependencies]
2018-02-26 11:16:39 -08:00
Mikael Mengistu 0e4731e480
Expose Transport and Application Max Buffer Sizes (#1473) 2018-02-25 08:47:14 +00:00
Ryan Brandenburg f7da0edcb2 Skip ConnectionCanSendAndReceiveMessages 2018-02-23 11:45:24 -08:00
Andrew Stanton-Nurse 6a2d41cc9f
Fix #924 by introducing HubDispatcher abstraction (#1479) 2018-02-22 20:59:34 -08:00
David Fowler 32baa655b9
Do over the websocket transport (#1481)
* Do over the websocket transport
- Unify client and server logic (no code sharing yet)
- Removed use of cancellation tokens to communicate shutdown and instead used the pipe reader and socket abort.
- Added CloseTimeout to HttpOptions
2018-02-22 15:19:25 -08:00
David Fowler 7d035f48bc
Revert "Add timeout back to hanging test (#1480)" (#1482)
This reverts commit 09adc4a847.
2018-02-22 00:44:06 -08:00
David Fowler 09adc4a847
Add timeout back to hanging test (#1480)
- Increase timeout to 60 seconds
2018-02-21 21:50:50 -08:00