Commit Graph

1097 Commits

Author SHA1 Message Date
David Fowler db3441cf93 Merged release/2.1 2018-03-28 14:10:45 -07:00
David Fowler 19b9dca268
Change IHubProtocol interface to support partial parsing (#1745)
- These are the finishing touches before we disable batching on the
C# client and on the server. We're changing the IHubProtocol interface to
modify the input buffer with what was consumed. We're also changing it
to parse a single message at a time to be match what output writing does.
- Added TryParseResponseMessage and made it look like TryParseRequestMessage
2018-03-28 12:08:16 -07:00
Nate McMaster (automated) 7a428534c3
Update dependencies.props
[auto-updated: dependencies]
2018-03-28 11:04:33 -07:00
Mikael Mengistu 3669e07647
Merge pull request #1744 from aspnet/release/2.1
Check for Websockets to fix flaky tests (#1740)
2018-03-28 00:52:41 -07:00
Mikael Mengistu c631b87c6d
Check for Websockets to fix flaky tests (#1740) 2018-03-28 00:49:37 -07:00
David Fowler 4c6c0aa8a4 Merge branch 'release/2.1' into dev 2018-03-27 23:12:00 -07:00
Andrew Stanton-Nurse cfaa123eb8 IConnection refactoring (#1718)
- IConnection is now single-use and HubConnection creates a new instance
for reconnecting
- IConnection is just a Pipe now, no more events
2018-03-27 23:02:07 -07:00
Mikael Mengistu 984554d593
Merge pull request #1742 from aspnet/release/2.1
Adding File Header (#1741)
2018-03-27 22:05:18 -07:00
Mikael Mengistu 5b85e8309e
Adding File Header (#1741) 2018-03-27 21:54:11 -07:00
David Fowler d2564cf4e6 Upgrade deps 2018-03-27 19:30:49 -07:00
David Fowler 5cb9b887d4 Upgraded deps 2018-03-27 19:18:50 -07:00
Mikael Mengistu 1fdd6511fa
Merge pull request #1738 from aspnet/release/2.1 2018-03-27 14:08:55 -07:00
Mikael Mengistu 3952eacfaa
Add ability to remove all handlers with just the method name (#1729) 2018-03-27 14:06:56 -07:00
David Fowler 113a827c0e Merge branch 'release/2.1' into dev 2018-03-27 13:29:00 -07:00
David Fowler bc91191876
More benchmark command fixes 2018-03-27 13:26:55 -07:00
David Fowler df317cffca
Fixing benchmarks 2018-03-27 13:17:22 -07:00
David Fowler d598a909a2 Merge branch 'release/2.1' into dev 2018-03-27 10:26:57 -07:00
David Fowler 185453908f
Remove HubConnectionContext parameter from IHubProtocolResolver (#1735) 2018-03-27 10:25:00 -07:00
BrennanConroy 6547edb58a
Merge pull request #1736 from aspnet/release/2.1
Add new SignalR scenarios (#1730)
2018-03-27 10:14:34 -07:00
BrennanConroy b7e2678592
Add new SignalR scenarios (#1730) 2018-03-27 10:14:08 -07:00
David Fowler dcd773d10d Merged release/2.1 2018-03-27 03:03:10 -07:00
David Fowler 7a9160f3e0
React to https://github.com/aspnet/KestrelHttpServer/pull/2428 (#1734) 2018-03-27 02:02:29 -07:00
David Fowler 434147fe8e Merge branch 'release/2.1' into dev 2018-03-27 00:00:13 -07:00
David Fowler b78e70fadb
Use more pooled Utf8BufferTextReaders (#1728)
- Use it in the HandshakeProtocol
- Move CreateJsonTextReader to JsonUtils
2018-03-26 23:32:43 -07:00
unknown 678265259d Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-26 17:30:38 -07:00
Mikael Mengistu cc52beec17
Fallback for TS client 2018-03-27 00:18:36 +00:00
James Newton-King 79b51ad642
Added logging of .NET client HTTP requests (#1723) 2018-03-27 12:57:13 +13:00
David Fowler b8285b8356
Don't create the span on netstandard (#1721)
- Directly pin the char[]
- Changed Utf8BufferTextReader to use the Utf8Decoder
- It copies whatever it can into the char buffer allocated in a stateful way (it's more efficient).
- Added tests for unicode and ascii reading
- Added a thread static cache
2018-03-26 14:36:08 -07:00
David Fowler ddc0e4fb3a
Run benchmarks on .NET Core 2.1 (#1722)
- Spoiler alert, it's much faster for the ones I ran at least
2018-03-25 21:07:17 -07:00
ASP.NET CI 482c5f9f6d Update dependencies.props
[auto-updated: dependencies]
2018-03-25 15:55:36 -07:00
David Fowler 65204ec6f2
Small changes (#1714)
- Don't allocate for empty arrays.
- Don't allocate the list of pre-serialized messages until writing
2018-03-25 12:38:51 -07:00
Damir Ainullin dd9369ece8 Removed excessive null check because string.Join can't return null (#1716) 2018-03-25 10:13:07 -07:00
David Fowler 733a3b3c2d
Upgrade the dependencies (#1712) 2018-03-25 00:51:53 -07:00
James Newton-King 9f0b52562c
Merge branch 'release/2.1' into dev 2018-03-25 18:58:48 +13:00
James Newton-King e941498839
Revert "Add conditional test attribute for WebSockets (#1709) (#1710)" (#1711)
This reverts commit 5f64ecfd4d.
2018-03-25 18:57:55 +13:00
James Newton-King 5f64ecfd4d
Add conditional test attribute for WebSockets (#1709) (#1710) 2018-03-25 18:55:55 +13:00
James Newton-King 4f5bc7046e
Add conditional test attribute for WebSockets (#1709) 2018-03-25 18:53:49 +13:00
David Fowler f52f1161bb Merged release/2.1 2018-03-24 05:05:45 -07:00
David Fowler cb05ce4e0b
Progress towards deleting Sockets.Abstractions (#1705)
* Progress towards deleting Sockets.Abstractions
- Moved our custom DefaultConnectionContext to Sockets.Http and renamed it to HttpConnectionContext.
- Renamed ConnectionManager to HttpConnectionManager
- Use DefaultConnection in tests and benchmarks
- Delete ConnectionMetadata
2018-03-24 04:21:47 -07:00
Andrew Stanton-Nurse 9e33bc8ad3
Merge pull request #1702 from aspnet/release/2.1
issue template (#1701)
2018-03-23 12:29:28 -07:00
Andrew Stanton-Nurse a9667c3fbd
issue template (#1701) 2018-03-23 12:29:09 -07:00
David Fowler 290f18ac76 Merged release/2.1 2018-03-23 00:06:32 -07:00
David Fowler 2e63e5afe3
The rename games part 1 of many (#1696)
- React to rename of EndPoint to ConnectionHandler
- Rename UseSockets to UseConnections
- Rename MapEndPoint to MapConnectionHandler
- Rename HttpSocketOptions to HttpConnectionOptions
2018-03-22 22:35:55 -07:00
James Newton-King 7479f92303
Merge branch 'release/2.1' into dev 2018-03-23 17:28:25 +13:00
James Newton-King d367bdc9aa
Remove message content from JS client logging (#1694) 2018-03-23 17:24:51 +13:00
BrennanConroy fd54ec2c4f Merge remote-tracking branch 'origin/release/2.1' into dev 2018-03-22 15:57:47 -07:00
BrennanConroy a47e1051e8
Add protocol version to handshake (#1666) 2018-03-22 15:54:35 -07:00
BrennanConroy 6d642ea5ce
Move Typescript client folder (#1692) 2018-03-22 15:47:08 -07:00
David Fowler 8572774ca4 Merge branch 'release/2.1' into dev 2018-03-22 15:26:21 -07:00
David Fowler f1a3775247
Copy HttpContext properties for long polling transport (#1684)
- The long polling transport simulates a persistent connection
over multiple http requests. In order to expose common http request
properties, we need to copy them to a fake http context on the first poll
and set that as the HttpContext exposed via the IHttpContextFeature.
2018-03-22 15:24:35 -07:00