Commit Graph

387 Commits

Author SHA1 Message Date
Viktor Kotsiuban 963fcd41ed Add functionality to track online users 2017-05-01 16:35:25 -07:00
David Fowler ba99a89ee6 Fixed typo in the spec (#431) 2017-05-01 09:13:47 -07:00
Mikael Mengistu 186c411f43 Clean up (#427) 2017-04-28 14:37:09 -07:00
Mikael Mengistu db868af8d8 Added stricter SSE message type parsing (#410) 2017-04-28 11:58:10 -07:00
Nate McMaster 15afda7abf Revert "Temporarily disable DotNetCliToolReference in samples until aspnet/Universe#506 is resolved"
This reverts commit ee66a1706f.
2017-04-28 11:52:11 -07:00
Mikael Mengistu d19ed0070c Move Long Polling and SSE send logic to a common place (#424) 2017-04-27 15:33:23 -07:00
moozzyk 82f99a1424 Work around for a Firefox bug
Firefox won't fire EventSource open event until it receives some data. The workaround is to send an empty comment when starting ServerSentEvent transport.

Fixes: #352
2017-04-27 10:34:47 -07:00
moozzyk 39b2990b62 Preserving user's queryString
Fixes: #272
2017-04-27 09:50:14 -07:00
moozzyk 58e7c1b1fe Allowing passing ITransport to start 2017-04-27 09:50:14 -07:00
Chris R b45e20acec Merge branch 'rel/2.0.0-preview1' into dev 2017-04-26 15:06:00 -07:00
Mikael Mengistu 74b318b3e4 Support binary messages in SSE parser (#418) 2017-04-26 15:04:48 -07:00
Chris R 0edd62339e React to IHostedService namespace change 2017-04-26 14:37:58 -07:00
Pranav K 3006d315cc Updating package version to preview2 2017-04-26 07:13:40 -07:00
Pranav K 5f4f5618cc Merge branch 'rel/2.0.0-preview1' into dev 2017-04-25 22:05:47 -07:00
Pranav K 2e3f29b7fe Branching for 2.0.0-preview1 2017-04-25 22:05:44 -07:00
Andrew Stanton-Nurse 5aea7292cd prevent websocket deadlock (#419) 2017-04-25 15:18:47 -07:00
Pranav K 9e13f0fdb0 Use Bundled NETStandard.Library \ NETCoreApp versions instead of explicitly specifying one 2017-04-25 12:48:54 -07:00
Nate McMaster ee66a1706f Temporarily disable DotNetCliToolReference in samples until aspnet/Universe#506 is resolved 2017-04-25 11:29:39 -07:00
Andrew Stanton-Nurse 1018a20c61 more logging (#417) 2017-04-24 12:38:39 -07:00
Andrew Stanton-Nurse fc54ffc96e fix build 2017-04-20 16:06:15 -07:00
Andrew Stanton-Nurse 64e9cba14d fix build broken by PlatformAbstractions (#409) 2017-04-20 14:17:45 -07:00
Andrew Stanton-Nurse c2eec09ba0 react to removal of PlatformAbstractions (#405) 2017-04-20 11:01:06 -07:00
Hao Kung fc51c4ffa6 Add inject 2017-04-19 21:14:36 -07:00
Hao Kung 62abf9431f Add using to sample 2017-04-19 19:46:25 -07:00
Hao Kung 27e90edc1c SignalR => Auth 2.0 2017-04-19 18:51:24 -07:00
Mikael Mengistu 8c8f6c708b Server-Sent Events Transport + Parser (#401) 2017-04-18 16:08:48 -07:00
Andrew Stanton-Nurse 2d278009b2 clean up client sample (#392) 2017-04-18 12:41:23 -07:00
moozzyk e691e1cff8 Removing legacy raw format for `send`
Fixes issues #383 and #127
2017-04-18 11:34:43 -07:00
Kiran Challa fd7707e7d2 Upgraded IntegrationTesting package to 0.4.0 2017-04-14 16:38:21 -07:00
Andrew Stanton-Nurse ca481dab85 Add non-blocking invocations to the spec (#382)
* Add non-blocking invocations to the spec
* make the rules on streamed results stricter
* more clarifications on protocol errors
2017-04-12 18:00:09 -07:00
moozzyk db66b1e553 TransportFactory should not try creating WebSocket transport on Win7/2008R2 2017-04-11 16:34:20 -07:00
Andrew Stanton-Nurse a181dc558a SignalR Hub Protocol (#372) 2017-04-11 14:08:48 -07:00
BrennanConroy 9993fd96da Use policy names in EndPointOptions (#340) 2017-04-11 12:35:31 -07:00
BrennanConroy be88d2918e Disable API Check 2017-04-11 09:23:48 -07:00
moozzyk 04719dee82 Adding transport factory 2017-04-11 09:16:36 -07:00
David Fowler 0546dc21f4 Disable response buffering via the IHttpBufferingFeature (#379)
* Disable response buffering via the IHttpBufferingFeature
- To make sure SignalR works with servers and middleware
that do perform response buffering, disable it via the
IHttpBufferingFeature for SSE.
- Added test to verify buffering is disabled
2017-04-10 19:05:06 -07:00
Kai Ruhnau 4c183b4d00 Quickly fail the UFT-8 validation if the first byte is already invalid 2017-04-10 12:23:46 -07:00
moozzyk 841ceb24b6 Fixing start/stop race in the TS client 2017-04-07 07:59:43 -07:00
John Luo 370df2d6d9 Remove cyclic dependencies 2017-04-05 19:14:01 -07:00
BrennanConroy 2dfada051e React to CoreFx changes 2017-04-05 08:48:30 -07:00
David Fowler 5df022df0c Remove skipped tests and increased timeout for failing test 2017-04-04 22:13:12 -07:00
moozzyk ebb2ce8fc9 Converting transport type from string to enum 2017-04-04 14:00:56 -07:00
moozzyk 7944be712f Allow starting connection only once 2017-04-04 10:49:10 -07:00
David Fowler abafae8cd3 Remove VersionPrefix from Sockets (#369) 2017-04-04 10:38:23 -07:00
David Fowler 3b8e1a5380 Added a close timeout to the web socket transport
- Today we don't end the request if the application completes
but the websocket transport hasn't gotten the receive frame as yet.
This changes adds a WebSocketOptions.CloseTimeout to EndPointOptions
that allows configuring this timeout. When the timeout is reached, we abort
the connection and end the transport task so that the request can end.
- Added tests for websocket timeout and skipped tests for application timeouts
2017-04-04 09:59:41 -07:00
Pranav K 6be9cfed91 Updating versions to 2.0.0-preview1 2017-04-04 06:57:42 -07:00
David Fowler 87e6da6e4c Handle exceptions and Cancellation in DisposeAsync (#366) 2017-04-03 22:21:41 -07:00
David Fowler 8da2dddd49 Fix issue where multiple calls to dispose don't wait properly (#360)
* Fix issue where multiple calls to dispose don't wait properly
- DisposeAsync returned immediately to anyone but the first caller.
This means that it was possible to end the request before properly
waiting on the transport task which means writing after dispose was possible.
- Added a test
2017-04-03 15:25:45 -07:00
BrennanConroy f6f0007c12 React to CoreFx byte[] slice 2017-04-03 11:45:00 -07:00
moozzyk d9faf17f5c * Fixing a racey test
* Fixing a misplaced test file
2017-03-31 13:54:46 -07:00