Commit Graph

951 Commits

Author SHA1 Message Date
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
Dona278 551158c239 Fixed exception during deserialization of a message with Redis (#1426)
Changed wrong message type used during deserialization in "SubscribeToUser"
2018-02-14 11:30:32 -08:00
BrennanConroy d9b32ee323
Logging invocations with errors would throw inside logger (#1445) 2018-02-13 14:57:21 -08:00
Andrew Stanton-Nurse e7520904da
remove bundler/minifier from ChatSample (#1413) 2018-02-13 14:36:58 -08:00
David Fowler ae998ba172
Remove unneeded dependencies (#1443) 2018-02-12 23:58:44 -08:00
David Fowler 6c22f25818
Client pipelines (#1435)
- Reworked the Client to be based on pipelines instead of Channels
- SendAsync no longer fails if the http request itself fails but the connection is closed as a result.
- Updated tests
- Base64Encoder needed to support multiple messages in the same span of data
2018-02-12 22:27:43 -08:00
ASP.NET CI 0159b53e5e Update dependencies.props
[auto-updated: dependencies]
2018-02-11 12:42:12 -08:00
David Fowler 75efe025c3 Skipping flaky tests 2018-02-10 22:17:07 -08:00
David Fowler 3934ffd5af
Cleanup some dead code (#1434)
- Rename SocketBuilder to ConnectionBuilder
- Removed ChannelReaderExtensions
2018-02-10 22:16:30 -08:00
BrennanConroy 9589775f3d
Run tests outside of xunit synccontext (#1427) 2018-02-10 20:58:27 -08:00
David Fowler 4c08acd8a4
Don't allocate all the memory up front when receiving incoming sends (#1433) 2018-02-10 20:52:00 -08:00
David Fowler 94155b0e89
Use protocol.abstractions primitives instead of socket abstractions (#1432) 2018-02-10 18:10:09 -08:00
David Fowler 01f4bf01cc Disambiguate between protocol abstractions and sockets (this is temporary) 2018-02-10 13:59:46 -08:00
David Fowler 342c4c44f6 Change namespace to avoid conflict 2018-02-10 12:44:55 -08:00
David Fowler 3e568588d2
Revert "Use protocol.abstractions primitives instead of socket abstractions (#1429)" (#1431)
This reverts commit e3f197cef0.
2018-02-10 11:30:41 -08:00
David Fowler e3f197cef0
Use protocol.abstractions primitives instead of socket abstractions (#1429) 2018-02-10 10:45:07 -08:00
David Fowler 2ed78d5762
Don't expose Channel from HubConnectionContext (#1428)
- Change HubEndPoint to call WriteAsync
- Fixed assert  for protocol reader writer
2018-02-09 22:00:28 -08:00
David Fowler 28439d1441
Initial changes to move to pipelines (#1424)
- Change the Sockets abstraction from Channel<byte[]> to pipelines.

#615
2018-02-09 17:45:21 -08:00
ASP.NET CI f939a7cd53 Update dependencies.props
[auto-updated: dependencies]
2018-02-09 12:01:38 -08:00
BrennanConroy 331bf3515d
Add TSLint rule file and fix all violations (#1381) 2018-02-07 15:26:13 -08:00
Andrew Stanton-Nurse f08da32eb2
Move AppVeyor artifact publishing to on_finish to ensure it runs on failed builds too (#1414) 2018-02-07 10:08:59 -08:00