Commit Graph

973 Commits

Author SHA1 Message Date
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
Pranav K 74198712c6 Use FeatureBranchVersionSuffix when generating VersionSuffix 2018-02-21 18:27:16 -08:00
Mikael Mengistu df2c7feb4d
Remove ProtoBuf from spec (#1478) 2018-02-21 21:54:12 +00:00
Andrew Stanton-Nurse b3a33efeae Update MsgPack-Cli version
* Fixes #1301
* Fixes #1058
* Fixes #1422
2018-02-20 13:57:42 -08:00
David Fowler c8d4cf689f
Tackling some low hanging performance fruit (#1470)
* Tackling some low hanging performance fruit
- Use native Memory/Span APIs on Stream and WebSocket in .NET Core 2.1
- Remove double copying in formatters
- Implemented custom HttpContent over ReadOnlyBuffer<byte>
2018-02-20 13:50:31 -08:00
David Fowler bfa2df1fc6
Remove timeout from receive tcs. (#1471)
* Remove timeout from receive tcs.
- This test echos a large message and it fails sometimes before the entire thing is delivered. Just drop the timeout.
- Avoid creating timers for already completed tasks
2018-02-19 20:15:47 -08:00
David Fowler a2ac9c573e
Added try finally to semaphore release (#1469) 2018-02-18 12:37:42 -08:00
ASP.NET CI 03ca505fb3 Update dependencies.props
[auto-updated: dependencies]
2018-02-18 12:32:43 -08:00
David Fowler e1bb2215e5
Remove the Channel<HubMessage> from the HubConnectionContext (#1468)
* Remove the Channel<HubMessage> from the HubConnectionContext
- Replace the channel with a single lock around the pipewriter. Since writes are always synchronous, the lock is held for a very short time.
- We were only using them in this scenario for handling multiple producers (the hub output, the keep alive ping and the broadcast).
- Handle the scenario where there's back pressure (when we use pipes that are bounded) and give callers a single task representing when back pressure is released.
- Handle synchronous exceptions in RedisHubLifetimeManager
- Fixed benchmarks
2018-02-17 10:22:11 -08:00
David Fowler de7faec246
Pass the array segment offset to WriteAsync (#1467) 2018-02-17 01:26:07 -08:00
BrennanConroy 3acd29ec6f Revert "Fix flaky SSE test (#1279)"
This reverts commit 6fcf554c23.
2018-02-16 19:01:54 -08:00
BrennanConroy a513386f68
Somehow the token didn't get passed into the reader (#1465) 2018-02-16 16:23:15 -08:00
Andrew Stanton-Nurse 1bd37cabf0
Make it possible to run the Browser Functional Tests from the command line (#1448) 2018-02-16 10:48:35 -08:00
Andrew Stanton-Nurse 1f94925afa
Add note about required NPM version (#1462) 2018-02-16 09:59:08 -08:00
BrennanConroy 6fcf554c23
Fix flaky SSE test (#1279) 2018-02-15 09:56:02 -08:00
Tony Compton 78612fc4b0 Getting Started/Build Documentation (#1311)
* Added getting-started documentation.

- High-level getting started docs.
- Troubleshooting the build docs.
- Build details docs.
2018-02-15 09:21:00 -08:00