Commit Graph

797 Commits

Author SHA1 Message Date
Nate McMaster dcbf20b1f7 Use MSBuild to set NuGet feeds instead of NuGet.config 2017-11-20 12:18:39 -08:00
BrennanConroy 93cbf4dbef
Change negotiate to POST (#1122) 2017-11-17 15:31:47 -08:00
Pawel Kadluczka 046553cfe4 Avoiding serializing to MemoryStream 2017-11-17 15:02:21 -08:00
Pranav K 0255979a73 Use MicrosoftNETCoreApp21PackageVersion to determine the runtime framework in netcoreapp2.1 2017-11-17 13:00:26 -08:00
BrennanConroy 75274c76d5
Give redis docker image time to download (#1131) 2017-11-17 10:32:15 -08:00
BrennanConroy 2fcf3ea9b7
Revert benchmarks to netcoreapp2.0 2017-11-16 14:07:39 -08:00
Pranav K 439f2a7892 Update samples and tests to target netcoreapp2.1 2017-11-16 13:38:46 -08:00
Andrew Stanton-Nurse cb3124be17
First pass at Keep Alive (#1119)
This adds the Ping message type and support for sending/receiving it in the Hub Protocols. It does not add the logic to transmit keep-alive frames.
2017-11-16 09:45:13 -08:00
Pawel Kadluczka 379160707f
Switching to new base64 APIs (#1127) 2017-11-16 09:20:40 -08:00
Pawel Kadluczka 945710907b
Fixing js end-to-end test after introducing streaminvocation (#1120)
Fixing js end-to-end test after introducing streaminvocation
Fixing hanging tests. Adding debug parameter
2017-11-15 14:06:16 -08:00
BrennanConroy 3a8f512fa7
Couple more reaction changes for Hosting (#1126) 2017-11-15 13:31:17 -08:00
BrennanConroy 5d8aa1ee2a
Fix a couple flaky tests (#1116) 2017-11-14 14:44:15 -08:00
BrennanConroy 34b0445dd8
React to delayed Configure in Hosting (#1118) 2017-11-14 14:43:56 -08:00
Pawel Kadluczka 18f308fb05 Updating spec with StreamInvocation, removing StreamCompletion 2017-11-14 09:53:37 -08:00
BrennanConroy ff43390ed2
[Redis] Add functional test support (#1051) 2017-11-14 09:32:14 -08:00
BrennanConroy 9789e09cfb
Adding EventSource/EventCounters to Sockets (#1083) 2017-11-14 09:04:35 -08:00
Pawel Kadluczka eb966ab7b1 Updating package versions 2017-11-13 17:04:19 -08:00
BrennanConroy 792745ad98 React to CoreFxLab packages (#998) 2017-11-13 15:05:35 -08:00
BrennanConroy f21d107766
Use different ports in ServerFixture for testing (#1112) 2017-11-13 11:32:38 -08:00
Pawel Kadluczka ff12b9b20c Replacing StreamCompletion with StreamInvocation 2017-11-13 10:50:15 -08:00
Mikael Mengistu 1a21fd49b1
Changing the Closed Event to be a Task (#1080) 2017-11-09 17:51:13 -08:00
Pawel Kadluczka 06475270ec
Actually throwing exceptions from SendAsync (#1084)
SendAsync was using InvokeCoreAsync code to send messages. In case of exception InvokeCoreAsync is blocking and returns a task to the user so they can await for the remote call to complete. Any exception thrown is caught and used to fail the task returned to the user. SendAsync does not return a special task to the user so re-using InvokeCore resulted in swallowing exceptions. While SendAsync is fire and forget it actually should throw if the message could not be send and it was not happening.

While adding tests it turned out we did not test cases where Invoke/SendAsync/StreamAsync were invoked before starting the connection and this resulted in a NullReferenceException. I also fixed that.
2017-11-03 13:15:11 -07:00
BrennanConroy 9371e7b50a
[Redis] Reorder some code to make it less spaghetti (#1081) 2017-11-02 18:38:20 -07:00
Pawel Kadluczka 13757936ad Adding roundtripping test for GUID property 2017-11-02 09:35:39 -07:00
Pawel Kadluczka dde1a75b80 Updating spec 2017-11-01 20:20:43 -07:00
Pawel Kadluczka cc42b0eaef Fixing a bug where cancellation could result in HubException
When the client cancels a streaming method the server would send an error completion. This was not correct because cancellation is not an error. We did not see this because our client ignores any messages for a given streaming invocation after sending a CancelInvokationMessage but other clients may want to drain messages before considering a streaming method canceled.
2017-11-01 20:20:43 -07:00
BrennanConroy 8c446fc02d
[Redis] Save a few bytes for acks (#1070) 2017-11-01 16:48:36 -07:00
Nate McMaster e15a38a14c Pin package and tool versions to make build more repeatable 2017-11-01 16:40:51 -07:00
moozzyk 1d2e0fedb0 Enabling byte[] 2017-11-01 15:50:18 -07:00
Pawel Kadluczka 4d6383727a Updating jasmine
Needed for typed array verification
2017-11-01 15:50:18 -07:00
moozzyk 52862b23d7 Updating msgpack5 to the latest version 2017-11-01 15:50:18 -07:00
BrennanConroy 2419867dfc
Handle errors in Redis subscription callbacks (#1069) 2017-11-01 10:29:02 -07:00
Nate McMaster 8a7f495141
Specify NodeJS as a required toolset to build this repo (#1065) 2017-10-31 14:18:19 -07:00
BrennanConroy 83bb07d5a4
Fix parameter name (#1066) 2017-10-30 12:55:12 -07:00
Pawel Kadluczka 18f770e937
Late parameter binding (#1049)
Late parameter binding

Storing exception thrown during parameter binding and rethrowing when the method is about to throw. This allows completing invocations with a HubException and keeping the connection open.
We will also no longer close the connection if parameters for client side methods cannot be bound. We will log and continue.

Fixes: #818

(Also fixing #1005 because I was just touching this line)
2017-10-30 11:31:57 -07:00
Mikael Mengistu eec6b4f2f5 Removing Connected event from TestConnection (#1055) 2017-10-24 23:23:56 -07:00
BrennanConroy 30e7422407 Enable reconnect for Redis connection by default (#1037) 2017-10-24 14:30:13 -07:00
Mikael Mengistu 1768a081ba Updating default pattern(#1046) 2017-10-23 22:20:31 -07:00
Pawel Kadluczka e7e84035c0 Adding StreamCompletion message to the HubProtocol spec (#1041)
Adding StreamCompletion message to the HubProtocol spec
2017-10-23 10:45:14 -07:00
Pawel Kadluczka 57d2382c46 Http Post section revision (#1042)
* Http Post section revision

Fixes: #993
2017-10-23 10:29:47 -07:00
Pawel Kadluczka caff492cdc Removing sending OPTIONS request if WebSocket transport requested (#1036)
Removing sending OPTIONS request if WebSocket transport requested

This removes session stickiness requirement for WebSockets

Fixes: #1035
2017-10-23 10:28:33 -07:00
Mikael Mengistu 5ffb082acb Add Missing Await in Test (#1045) 2017-10-22 23:37:12 -07:00
BrennanConroy 9cc5d13a40 [Redis] Adding same group to connection multiple times should NOP (#1040)
* Added some additional tests too
2017-10-20 14:29:08 -07:00
Pawel Kadluczka 6bddb258cd Adding StreamCompletion message (TS) 2017-10-19 18:20:03 -07:00
Pawel Kadluczka 8d1d6d0300 Adding StreamCompletion message (C#) 2017-10-19 18:20:03 -07:00
Pawel Kadluczka 236aa63467 Don't build TS client needlessly (#1034) 2017-10-18 22:49:44 -07:00
Pawel Kadluczka a903a74db1 Adding roundtripping test for CancelInvocation message (#1031)
* Adding roundtripping test for CancelInvocation message
2017-10-18 22:49:15 -07:00
Mikael Mengistu 04d4da2987 Replace Received Event with OnReceived (#1006) 2017-10-18 17:10:51 -07:00
BrennanConroy bb308ff72e LoggerDefine for Redis (#1002) 2017-10-18 10:46:03 -07:00
Gurgen Hakobyan b3ac9f4bf8 Not very important code optimization (#1030)
Code optimization
2017-10-18 09:23:32 -07:00