Commit Graph

1354 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse b1010b7bd5
fix #2171 by adding HttpTransportType.None (#2172) 2018-05-02 14:34:23 -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 41c8dcf449
Fix not setting HttpConnection.ConnectionId (#2154) 2018-05-01 21:48:57 -07:00
James Newton-King 3e906fb64a
Minor API cleanup (#2147) 2018-05-01 17:51:08 -07:00
James Newton-King 555c1fd720
Fix not detecting marker service (#2149) 2018-05-01 17:42:00 -07:00
Andrew Stanton-Nurse ae329edd2a
Fix #2169 by correcting shutdown timeout (#2170) 2018-05-01 16:37:22 -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 295801ac50
XML documentation (#2106) 2018-05-01 16:08:09 -07:00
Andrew Stanton-Nurse c89cf1a12b
JSDocs (#2168) 2018-05-01 16:06:35 -07:00
Nate McMaster (automated) 683adec4a0
Bump version to 1.0.0-rtm 2018-04-30 14:51:56 -07:00
Andrew Stanton-Nurse 01c0690cc9
Final TS tidyup (#2120) 2018-04-20 16:33:45 -07:00
Andrew Stanton-Nurse 47eafca4d8
CancellationToken EVERYWHERE (#2101) 2018-04-20 16:21:51 -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
Andrew Stanton-Nurse dacea904cc
privatize IConnection and HttpConnection (#2105) 2018-04-20 10:14:54 -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 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 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 6b6d890c8f
fix #2078 by adding locking (#2079) 2018-04-19 15:32:04 -07:00
Andrew Stanton-Nurse 65adcdd73a
HubConnectionBuilder.ts (#2063) 2018-04-19 12:09:47 -07:00
Andrew Stanton-Nurse 050a1ecf27
fix package.json versions (#2098) 2018-04-19 10:12:09 -07:00
David Fowler 676bf179f3
Reduce redundant dependencies (#2091) 2018-04-19 00:18:52 -07:00
James Newton-King ad52ba7316
Global suppress low impact logging verification in tests (#2089) 2018-04-19 16:50:02 +12: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 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 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 7dd6d82bba
remove verbose flag (#2067) 2018-04-17 21:07:53 -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 391c281194
Capture server logs in tests (#2029) 2018-04-18 14:39:08 +12: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
James Newton-King 1fc4a4916f
Merge branch 'release/2.1' into jamesnk/test-server-logging 2018-04-18 09:46:46 +12:00
James Newton-King 6842ae307f
Undo dev changes 2018-04-18 09:46:21 +12:00
Andrew Stanton-Nurse 31debcbf9f
Simple TypeScript API Review Feedback (#2050) 2018-04-17 10:51:52 -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 9d8b83e6b3 Updated version to 1.1.0 preview1 2018-04-17 01:12:51 -07:00
David Fowler 8d8a546a3f Merge branch 'release/2.1' into dev 2018-04-17 00:50:10 -07: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
James Newton-King 177f5d91ef
Merge pull request #2052 from aspnet/release/2.1
Move HubException and add serialization ctor (#2049)
2018-04-17 14:12:02 +12:00
James Newton-King d35bcea0a5
Move HubException and add serialization ctor (#2049) 2018-04-17 14:10:42 +12:00
Ryan Brandenburg e15d1ec255 Update version number to 2.2.0 2018-04-16 17:03:02 -07:00