Commit Graph

1878 Commits

Author SHA1 Message Date
James Newton-King c714a81624
Add connection id to sink log for unit tests (#2085) 2018-04-30 16:51:17 -07:00
Nate McMaster bafa68e9d5
Merge branch 'release/2.1' into dev 2018-04-30 15:32:58 -07:00
Nate McMaster (automated) 683adec4a0
Bump version to 1.0.0-rtm 2018-04-30 14:51:56 -07:00
David Fowler c53514fa19
Don't throw from AbortAsync (#2166)
- Log from inside of HubConnectionContext if the user callback failed.
- Use ThreadPool.QUWI instead of Task.Factory.StartNew.
- Remove try catch from HubConnectionHandler
2018-04-30 09:22:48 -07:00
David Fowler ab451b53b7
Simplify error handling in HubConnectionHandler (#2162)
* Simplify error handling in HubConnectionHandler
- Since we execute hub methods inline, there's no need to abort the connection on unexpected exceptions.
- Don't pass the cancellation token to ReadAsync, instead just use CancelPendingRead.
- Don't treat OperationCancelledException errors as errors.
2018-04-29 22:51:16 -07:00
ASP.NET CI f89400cf12 Update dependencies.props
[auto-updated: dependencies]
2018-04-29 12:32:30 -07:00
BrennanConroy 4b52428a4d
EchoAll scenario doesn't work well with warmup (#2143) 2018-04-25 13:32:24 -07:00
Mikael Mengistu 924d99abe7
Update BenchmarkServer readme 2018-04-25 09:52:11 -07:00
BrennanConroy 43fc0854c3
Remove unnecessary hop (#2136) 2018-04-23 15:25:57 -07:00
Andrew Stanton-Nurse bd46d757ba
fix #2134 by disposing httpconnection if start fails (#2137) 2018-04-23 12:38:37 -07:00
ASP.NET CI 3fc0727ba0 Update dependencies.props
[auto-updated: dependencies]
2018-04-23 12:26:21 -07:00
BrennanConroy 1c9607a1ed
Verify Verifiable spelling (#2114) 2018-04-22 21:33:57 -07:00
BrennanConroy 33ee8626c8
Cache some property access in json hub protocol (#2128) 2018-04-22 09:55:38 -07:00
Andrew Stanton-Nurse 968e31970e
Merge pull request #2123 from aspnet/release/2.1
Final TS tidyup (#2120)
2018-04-20 16:34:19 -07:00
Andrew Stanton-Nurse 01c0690cc9
Final TS tidyup (#2120) 2018-04-20 16:33:45 -07:00
Andrew Stanton-Nurse d5f62f7b5a
Merge pull request #2122 from aspnet/release/2.1
CancellationToken EVERYWHERE (#2101)
2018-04-20 16:22:16 -07:00
Andrew Stanton-Nurse 47eafca4d8
CancellationToken EVERYWHERE (#2101) 2018-04-20 16:21:51 -07:00
Andrew Stanton-Nurse 36f05d42f5
Merge pull request #2118 from aspnet/release/2.1
Release/2.1
2018-04-20 13:49:53 -07:00
Andrew Stanton-Nurse 058830c9df
fix #2116 by requiring task return values from typed client (#2117) 2018-04-20 13:49:12 -07:00
Pranav K 31673e84f4
Re-enable Windows dotnet-ci builds (#1978)
* Re-enable Windows dotnet-ci builds
2018-04-20 10:57:53 -07:00
Andrew Stanton-Nurse dacea904cc
privatize IConnection and HttpConnection (#2105) 2018-04-20 10:14:54 -07:00
David Fowler dfb54663ae
Merge pull request #2115 from aspnet/release/2.1
Removing the chat sample (#2113)
2018-04-20 09:36:23 -07:00
BrennanConroy e6011ef69b
Use custom group names in tests to not collide with other tests running (#2102) 2018-04-20 09:26:26 -07:00
David Fowler 3b8243d203
Removing the chat sample (#2113)
- People are copying the presence prototype as if it's recommended instead of treating it like a prototype. Removing this because we want to do something more integrated in the future.
2018-04-20 09:20:06 -07:00
BrennanConroy 1e65802109 Merge branch 'release/2.1' into dev 2018-04-20 08:53:15 -07:00
BrennanConroy 9101ab636b
Always check for WebSockets close (#2100) 2018-04-20 08:21:04 -07:00
James Newton-King 5516a969e3
Change Hub and friends to abstract (#2108) 2018-04-20 20:53:01 +12:00
ASP.NET CI 21b41a8376 Update dependencies.props
[auto-updated: dependencies]
2018-04-19 22:36:36 -07:00
Andrew Stanton-Nurse ace9a0d414
fix #2097 by adding GetHttpContext to HubConnectionContext (#2099) 2018-04-19 19:14:39 -07:00
BrennanConroy 8571769f2f Merge branch 'release/2.1' into dev 2018-04-19 17:00:59 -07:00
BrennanConroy 1957655653
Run hub invocations serially (#2086) 2018-04-19 16:59:06 -07:00
Nate McMaster 4e8c1e14b0
Set NETStandardImplicitPackageVersion via dependencies.props 2018-04-19 16:45:04 -07:00
Andrew Stanton-Nurse bea09f5f94
Merge pull request #2104 from aspnet/release/2.1
fix #2078 by adding locking (#2079)
2018-04-19 15:32:27 -07:00
Andrew Stanton-Nurse 6b6d890c8f
fix #2078 by adding locking (#2079) 2018-04-19 15:32:04 -07:00
Andrew Stanton-Nurse 29ddc6a3e5 Merge branch 'release/2.1' into dev 2018-04-19 12:11:28 -07:00
Andrew Stanton-Nurse 65adcdd73a
HubConnectionBuilder.ts (#2063) 2018-04-19 12:09:47 -07:00
Andrew Stanton-Nurse 617d0bb4f6
fix websocket sample (#2096) 2018-04-19 11:04:39 -07:00
Andrew Stanton-Nurse 050a1ecf27
fix package.json versions (#2098) 2018-04-19 10:12:09 -07:00
David Fowler 31624d2826
Merge pull request #2092 from aspnet/release/2.1
Reduce redundant dependencies (#2091)
2018-04-19 00:48:35 -07:00
David Fowler 676bf179f3
Reduce redundant dependencies (#2091) 2018-04-19 00:18:52 -07:00
James Newton-King da94e984ce
Merge pull request #2090 from aspnet/release/2.1
Global suppress low impact logging verification in tests (#2089)
2018-04-19 17:46:11 +12:00
James Newton-King ad52ba7316
Global suppress low impact logging verification in tests (#2089) 2018-04-19 16:50:02 +12:00
BrennanConroy f36313e585
Merge pull request #2088 from aspnet/release/2.1
Split lock into WriteLock and StateLock to prevent deadlocks and unne…
2018-04-18 17:45:08 -07:00
BrennanConroy e9937ffb66
Split lock into WriteLock and StateLock to prevent deadlocks and unneeded lock contention (#2081) 2018-04-18 17:44:05 -07:00
David Fowler 9a0c190f48
Merge pull request #2082 from aspnet/release/2.1
Added support for negotiate response to redirect the client to anothe…
2018-04-18 14:51:55 -07:00
David Fowler 903fe1e902
Added support for negotiate response to redirect the client to another SignalR endpoint (#2070)
- Add a SkipNegotiation flag to the .NET and ts client
to allow skipping the negotiation phase. Don't infer it based on the transport type.
-  Updated the negotiate protocol to support returning a redirect url
- Added support to .NET client to handle redirect negotiations
- Handle poorly written endpoints that sends infinite redirects
- Added access token support and an infinite redirect guard
- Add delete handler for stopping the transport
2018-04-18 14:22:45 -07:00
Mikael Mengistu 92d8f854bc
Merge pull request #2077 from aspnet/release/2.1
Merge Release/2.1
2018-04-18 18:58:54 +00:00
Mikael Mengistu d9272032d0
Revert "Use xhr.onreadystatechange instead of xhr.onload (#1838)" (#2065)
This reverts commit 5e38303377.
2018-04-18 17:38:27 +00:00
David Fowler 5c9b64244a
Expose the IHubProtocol on HubConnectionContext (#2073) 2018-04-18 10:35:55 -07:00
Andrew Stanton-Nurse b3b5a13f2c underp the merge 2018-04-18 09:13:13 -07:00