Commit Graph

693 Commits

Author SHA1 Message Date
BrennanConroy d76c074780
Up Redis test log level (#2743) 2018-08-06 19:15:53 -07:00
unknown beb546e8df Merge branch 'release/2.2' 2018-08-06 11:07:16 -07:00
BrennanConroy e78e3db6f4
Honor InherentKeepAliveFeature for server timeout (#2727) 2018-08-06 10:37:12 -07:00
Andrew Stanton-Nurse d709fa62b9
Merge pull request #2719 from dotnet-maestro-bot/merge/release/2.2-to-master
[automated] Merge branch 'release/2.2' => 'master'
2018-08-03 10:59:01 -07:00
David Fowler 32d380a058
Don't send WebSocketCloseStatus.Empty, it's invalid (#2716) 2018-08-02 09:09:25 -07:00
Dylan Dmitri Gray 76706144a5 Add support for streaming arguments to clients using Channel (#2441) 2018-08-01 09:31:43 -07:00
BrennanConroy 651b39bc90 Revert "Merge branch 'master' into release/2.2"
This reverts commit 785200877a, reversing
changes made to 3d6e1e69fd.
2018-07-31 15:24:33 -07:00
Mikael Mengistu 785200877a
Merge branch 'master' into release/2.2 2018-07-31 10:22:09 -07:00
BrennanConroy 3d6e1e69fd
Close LongPolling connection on poll exception (#2701) 2018-07-31 09:52:10 -07:00
BrennanConroy 34a7fc4d99 Merge branch 'merge/release/2.2-to-master' 2018-07-25 11:45:32 -07:00
BrennanConroy 433eeb6943
Abort connection on protocol error (#2654) 2018-07-19 14:50:14 -07:00
BrennanConroy 056da5114a
Add partial handshake test (#2630) 2018-07-18 14:32:58 -07:00
BrennanConroy 856ac6cb8d AddSignalR tests (#2600) 2018-07-06 10:05:35 -07:00
Dylan Dmitri Gray 748e992865
Dygray/handshake versioning (#2520)
* set minor versions on the protocols
2018-07-05 16:42:42 -07:00
BrennanConroy b4fdc5e5c0
AddSignalR tests (#2600) 2018-07-05 13:24:29 -07:00
BrennanConroy 475700209a AddSignalR tests 2018-07-05 12:52:33 -07:00
BrennanConroy bafde7738f
Harden docker detection (#2552) 2018-06-28 09:31:42 -07:00
Andrew Stanton-Nurse 5b22616a63
Fix tests when running on non-US locale (#2501) 2018-06-15 15:19:00 -07:00
Mikael Mengistu c7ebae47ea
Show detailed error message for HubExceptions (#2461) 2018-06-11 13:55:47 -07:00
Mikael Mengistu dd64e4d9a5
Clean up Spec Test dependencies (#2451) 2018-06-08 15:28:23 -07:00
Ryan Brandenburg 6a39c161c5 Add VSTS ci pipeline 2018-06-07 15:02:13 -07:00
Mikael Mengistu 648705f648
Create a Public Test Suite for HubLifetimeManager implementations (#2353) 2018-06-06 16:59:55 -07:00
Dylan Dmitri Gray 3d0f68b22c
server closes connections that have gone silent (#2364) 2018-06-05 15:21:55 -07:00
James Newton-King 4f85ca2b1d
Add connection ID scope to HubConnection (#2394) 2018-06-01 11:12:51 +12:00
Andrew Stanton-Nurse c976d0aa6e
[2.1.1] Gracefully handle disposing while writing (#2180) (#2355) 2018-05-30 10:33:31 -07:00
Andrew Stanton-Nurse 0452f460c6
Fix not reading to end of argument JSON on binding error (#2319) (#2360) 2018-05-30 09:25:35 -07:00
Andrew Stanton-Nurse 3fa10f92ad
Fix losing UTC DateTimeKind on ISO8601 UTC values (#2317) (#2357) 2018-05-29 11:27:29 -07:00
Dylan Dmitri Gray f0f1df9b4a
PingInterval -> KeepAliveInterval (#2384) 2018-05-25 15:15:38 -07:00
James Newton-King 02a9bde10d
Fix flaky ClientPingsMultipleTimes test (#2368) 2018-05-24 17:29:15 +12:00
James Newton-King 6c927d093b
End to end versioning tests (#2354) 2018-05-24 14:44:15 +12:00
James Newton-King 5c633aa183
Log 404 responses from long polling transport DELETE as Debug instead of Error (#2366) 2018-05-24 14:21:48 +12:00
BrennanConroy 60d7ec5647 Add endpoint to samples for automated deployment usage 2018-05-23 13:59:32 -07:00
Andrew Stanton-Nurse 76e6d0279b add publish-apps script 2018-05-23 13:59:32 -07:00
Dylan Dmitri Gray 736b7f5042
Client pings server on interval (#2309) 2018-05-23 13:53:23 -07:00
James Newton-King b1194f67e7
Increase logging in flakey CanCloseStreamMethodEarly test (#2330) 2018-05-22 09:15:54 +12:00
James Newton-King e29296220d
Fix not reading to end of argument JSON on binding error (#2319) 2018-05-19 19:50:43 +12:00
James Newton-King 879646aba3
Fix losing UTC DateTimeKind on ISO8601 UTC values (#2317) 2018-05-19 18:43:14 +12:00
James Newton-King 96bbe70cd8
Handle incoming HTTP requests being canceled gracefully (#2314) 2018-05-19 13:32:05 +12:00
James Newton-King bff2060454
Fix JsonHubProtocol error message when too many arguments (#2312) 2018-05-18 19:55:53 +12:00
John Luo 26e456fd25 Fix tests after logging change (#2308) 2018-05-17 13:27:50 -07:00
BrennanConroy 422965f3c1
React to logging changes (#2299) 2018-05-17 09:18:37 -07:00
James Newton-King eaa03679de
Fix flakey tests from SSE receiving a 404 response on stop (#2282) 2018-05-17 18:31:56 +12:00
Mikael Mengistu 283297f455
Remove handlers from HubConnection (#2267) 2018-05-15 23:57:02 -07:00
BrennanConroy 9cb683a41d Merge branch 'release/2.1' into dev 2018-05-15 16:16:02 -07:00
BrennanConroy 95f543848c
Fix multiple connections for a single user in Redis and MemoryLeak (#2273) 2018-05-15 15:57:23 -07:00
James Newton-King 7625bbcb6c
Add HubConnection.State (#2204) 2018-05-14 19:23:00 +12:00
James Newton-King 023e61495f
Test combining multi-byte character writes with individual chars (#2238) 2018-05-10 17:38:19 -07:00
BrennanConroy 7916f95235 Merge branch 'release/2.1' into dev 2018-05-10 16:54:26 -07:00
BrennanConroy 4b1fb58a8a
Throw error on unexpected close (#2205) 2018-05-10 16:38:21 -07:00
James Newton-King db33d593f0
Gracefully handle disposing while writing (#2180) 2018-05-09 17:57:56 -07:00
BrennanConroy f09b0e13d9
Upgrade to netcoreapp2.2 and remove netcoreapp2.0 testing (#2221) 2018-05-09 09:59:02 -07:00
Mikael Mengistu 62d892315b
Merge pull request #2224 from aspnet/release/2.1
Use params passed into HubConnectionBuilder (#2223)
2018-05-07 21:44:04 -07:00
Mikael Mengistu 6f6382799b
Use params passed into HubConnectionBuilder (#2223) 2018-05-07 18:19:20 -07:00
James Newton-King da7a95f563
Handle null collections when writing NegotiateResponse (#2202) 2018-05-04 16:08:06 -07:00
Andrew Stanton-Nurse 6429e8e8ea
Merge pull request #2198 from aspnet/release/2.1
fix #2187 by passing min size through to buffer writer when encoding (#2190)
2018-05-03 19:10:42 -07:00
Andrew Stanton-Nurse b492dbe5d1
fix #2187 by passing min size through to buffer writer when encoding (#2190) 2018-05-03 19:10:15 -07:00
Andrew Stanton-Nurse 622e133a8a
fix #2134 by disposing httpconnection if start fails (#2137) (#2188) 2018-05-02 13:10:58 -07:00
James Newton-King 9f40bd639f
Merge pull request #2186 from aspnet/release/2.1
Fix not setting HttpConnection.ConnectionId (#2154)
2018-05-01 23:01:20 -07:00
James Newton-King 41c8dcf449
Fix not setting HttpConnection.ConnectionId (#2154) 2018-05-01 21:48:57 -07:00
James Newton-King 914d32b049
Fix merge 2018-05-01 18:06:11 -07:00
James Newton-King 49cdaad6d6
Merge pull request #2185 from aspnet/release/2.1
Fix not detecting marker service (#2149)
2018-05-01 17:42:39 -07:00
James Newton-King 555c1fd720
Fix not detecting marker service (#2149) 2018-05-01 17:42:00 -07:00
Andrew Stanton-Nurse 2a236193da
Merge pull request #2184 from aspnet/release/2.1 2018-05-01 16:37:54 -07:00
Andrew Stanton-Nurse d711916ad6
fix #2140 by ensuring the access token flows to WebSocketTransport (#2173) 2018-05-01 16:14:24 -07:00
James Newton-King c714a81624
Add connection id to sink log for unit tests (#2085) 2018-04-30 16:51:17 -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
Andrew Stanton-Nurse bd46d757ba
fix #2134 by disposing httpconnection if start fails (#2137) 2018-04-23 12:38:37 -07:00
BrennanConroy 1c9607a1ed
Verify Verifiable spelling (#2114) 2018-04-22 21:33:57 -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
BrennanConroy e6011ef69b
Use custom group names in tests to not collide with other tests running (#2102) 2018-04-20 09:26:26 -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
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
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
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
Andrew Stanton-Nurse ba75e5fdf7 Merge branch 'release/2.1' into dev 2018-04-18 09:08:52 -07:00
Andrew Stanton-Nurse b4046b5ed8
Fix #1989 by adding a 'binding failure' pseudo-message (#2064) 2018-04-17 20:08:07 -07:00
James Newton-King 61cce236fc
Derp 2018-04-18 10:37:23 +12:00
James Newton-King 0f0b9a73c1
Logger thread safety? 2018-04-18 10:13:12 +12:00
Mike Harder e19079bd50
Remove unused dependency on Microsoft.AspNetCore.Server.IntegrationTesting (#2062) 2018-04-17 12:18:34 -07:00
James Newton-King 707d79d3a1
Comment 2018-04-17 21:28:06 +12:00
James Newton-King 9f526b74af
This time? 2018-04-17 21:09:16 +12:00
James Newton-King 259dd04c99
Fix weird NRE 2018-04-17 20:58:18 +12:00
James Newton-King 8985fee4b5
Merge 2018-04-17 20:39:19 +12:00
David Fowler 05d6bbb782
Flush first long poll immediately (#2032)
There was a race condition between the first poll and any other http request that was sent. 
In particular, if you called StartAsync then StopAsync it was possible for the delete to happen before the poll started leading to 400 errors. This change fixes that by making the very first poll
return immediately so that the client can use that to determine if there was an error connecting.
2018-04-17 00:49:26 -07:00
James Newton-King 8241acf3a1
Boop 2018-04-17 18:00:04 +12:00
James Newton-King 818497de64
Improvements 2018-04-17 16:57:55 +12:00
Andrew Stanton-Nurse c05c5a6b2a
React to aspnet/KestrelHttpServer#2496: make IConnectionInherentKeepAliveFeature a boolean feature (#2041) 2018-04-16 11:34:12 -07:00