Commit Graph

186 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse bb59bb0a12
Merge pull request #1679 from aspnet/release/2.1
Release/2.1
2018-03-21 10:12:42 -07:00
Andrew Stanton-Nurse 71c2ddd155
Fix #1575 by removing use of Map (#1671) 2018-03-21 10:11:18 -07:00
David Fowler 6053a34cf3
Don't expose HubConnectionContext on the Hub (#1674)
- Made HubCallerContext an abstract class
- Made DefaultHubCallerContext that gets data from the HubConnectionContext.
- Removed IP address
- Removed Connection property
2018-03-21 10:07:41 -07:00
Andrew Stanton-Nurse b2bbaa1d32
Merge pull request #1668 from aspnet/release/2.1
clean up test output (#1656)
2018-03-20 17:24:09 -07:00
Andrew Stanton-Nurse a2764109b0
clean up test output (#1656) 2018-03-20 17:23:34 -07:00
BrennanConroy 498ec1597a
Merge pull request #1665 from aspnet/release/2.1
Fix LongPolling retry after poll timeout (#1654)
2018-03-20 14:51:34 -07:00
BrennanConroy 24f07ce791
Fix LongPolling retry after poll timeout (#1654) 2018-03-20 14:51:00 -07:00
BrennanConroy 3a3cebb884 Merge branch 'release/2.1' into dev 2018-03-19 22:02:44 -07:00
BrennanConroy b91499b2fc
Cleanup rogue timeout in TS client (#1653) 2018-03-19 22:01:52 -07:00
BrennanConroy 473e578efc
Fix CORS on TS Client (#1652) 2018-03-19 22:01:28 -07:00
James Newton-King 4f10560087
Rename negotiate to handshake, add handshake response, add close frame (#1591) 2018-03-20 17:40:22 +13:00
Andrew Stanton-Nurse 69bce8ff85 Merge branch 'release/2.1' into dev 2018-03-19 20:54:28 -07:00
Andrew Stanton-Nurse 71fd4ffd8a
fix #1542 by removing browser field (#1625) 2018-03-19 20:22:18 -07:00
Pranav K 85b12e9fa1
Enable dotnet-build bot 2018-03-19 12:31:55 -07:00
David Fowler 52befc6bc0 Merge branch 'release/2.1' into dev 2018-03-18 20:41:19 -07:00
David Fowler cc0d0e21e4 Revert package-lock.json changes 2018-03-18 15:20:19 -07:00
David Fowler b792fcb4ef
Reduce the per message read allocations (#1635)
- Introduced Utf8BufferTextReader that writes buffers directly into
the char[] allocated by JSON.NET when reading via the JsonReader.
- Use IArrayPool implementation over ArrayPool<char> when reading
incomming messages.
- Replaced JToken parsing with manual parsing using JsonTextReader.
- Added tests for parsing incoming JSON messages with out of order
properties.
- Make access to message headers lazy
- Changed IHubProtocol.TryParseMessage to be ReadOnlyMemory<byte> instead of ReadOnlySpan<byte>
2018-03-18 15:16:03 -07:00
BrennanConroy 8b8c7107a8
Update client-ts versions (#1624) 2018-03-16 17:00:23 -07:00
David Fowler d27844dfef
ConnectionMetadata is now ConnectionItems (#1604)
* ConnectionMetadata is now ConnectionItems
2018-03-14 20:57:40 -07:00
Andrew Stanton-Nurse c5d38ae32a
Run browser functional tests in CI builds (#1487) 2018-03-14 15:59:56 -07:00
David Fowler 6a8ede0770
Further making Microsoft.AspNetCore.Sockets "not a thing" (#1599)
- This PR attempts to move things where they are needed instead of where they
happened to be used. As a result we should now have Sockets.Abstractions and
Sockets down to the minimal set of things required to make them run.
Sockets.Abstractions should go away in favor of Protocol.Abstractions and
Sockets contains the EndPoint abstraction and related types.
- Moved ConnectionManager and friends to
Sockets.Http.
-Removed Sockets and moved everything into Sockets.Abstractions.
- Moved DefaultConnection and put it in Sockets.Abstractions.
2018-03-14 15:37:24 -07:00
Andrew Stanton-Nurse bc6ed02b6e
fix the umd build of msgpack (#1600) 2018-03-14 13:40:27 -07:00
Andrew Stanton-Nurse 4fe4757b4a
fix package-lock.json files (#1592) 2018-03-13 18:55:56 -07:00
Andrew Stanton-Nurse fb6121399c
Remove support for binary over SSE and add transfer format to negotiation (#1564) 2018-03-13 14:29:32 -07:00
Andrew Stanton-Nurse 0141d6e4a3
Fix #1580 by correcting README sample (#1581)
Corrects the README sample in @aspnet/signalr-protocol-msgpack to use the proper UMD module name.
2018-03-13 09:51:34 -07: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
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
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
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
Andrew Stanton-Nurse 6a2d41cc9f
Fix #924 by introducing HubDispatcher abstraction (#1479) 2018-02-22 20:59:34 -08:00
Andrew Stanton-Nurse b3a33efeae Update MsgPack-Cli version
* Fixes #1301
* Fixes #1058
* Fixes #1422
2018-02-20 13:57:42 -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
David Fowler 94155b0e89
Use protocol.abstractions primitives instead of socket abstractions (#1432) 2018-02-10 18:10:09 -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 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
BrennanConroy 331bf3515d
Add TSLint rule file and fix all violations (#1381) 2018-02-07 15:26:13 -08:00
Andrew Stanton-Nurse 0435b6dc6e
add headers and revamp msgpack tests (#1382) 2018-02-07 09:36:29 -08:00
Andrew Stanton-Nurse f58ea8133b
fix #1387 by removing our hacky EventSource typings (#1393) 2018-02-01 14:13:08 -08:00
Andrew Stanton-Nurse 2625b389b8
fix #1155 by renaming signalRTokenHeader to access_token (#1343) (#1359) 2018-01-28 14:52:28 -08:00
Andrew Stanton-Nurse 6590992c96
fix #1155 by renaming signalRTokenHeader to access_token (#1343) 2018-01-26 09:16:57 -08:00
BrennanConroy a449345436
Clean up logging (#1308) 2018-01-22 09:37:53 -08:00
Andrew Stanton-Nurse 0579f40a7d
Major TypeScript module refactoring (#1319)
* Build cjs, esm and umd versions
* Split MsgPack into separate module
* Split package.jsons up so they can stay clean
* Move common dev dependencies to a root package.json
2018-01-19 14:26:31 -08:00
BrennanConroy d38764a8f0
Rename InvokeAsync to SendAsync on the server (#1312) 2018-01-19 11:32:50 -08:00