Commit Graph

818 Commits

Author SHA1 Message Date
Andrew Stanton-Nurse a8330067c4
Implement #1157 by adding client timeout for C# client (#1165) 2017-12-07 14:54:41 -08:00
BrennanConroy 15c3bca8e6
Change log names in testing and assembly logs are from (#1182) 2017-12-05 17:05:22 -08:00
Andrew Stanton-Nurse 6e152e24e1
forgot a copyright header (#1183) 2017-12-05 16:51:24 -08:00
Andrew Stanton-Nurse f4bb309994
Implement #1162 by adding client timeout for JavaScript (#1163) 2017-12-05 10:50:22 -08:00
Andrew Stanton-Nurse ae9c3cf04d
expand ping test expectations to avoid flakiness (#1181) 2017-12-05 10:46:12 -08:00
Ryan Brandenburg d87770a56c Use aspnetcore-dev 2017-12-04 14:48:43 -08:00
Andrew Stanton-Nurse c1d2024864
Implement #1156 by having the server send Ping messages (#1161) 2017-12-04 14:43:27 -08:00
Ryan Brandenburg 8bb0efefa4 Update bootstrappers 2017-12-04 12:26:10 -08:00
Andrew Stanton-Nurse e4671392ec
Fix #1140 by plumbing WebSocketOptions up to HttpOptions (#1174) 2017-12-02 17:01:53 -08:00
Andrew Stanton-Nurse 3005337a9c
fix #625 by implementing HubMethodNameAttribute (#1173) 2017-12-01 09:48:26 -08:00
BrennanConroy db511a036d
Update produced packages to 2.1.0-preview-* (#1172) 2017-11-30 15:38:47 -08:00
David Fowler 5a6e15fdc4
Remove the custom C# compiler now that we're using the 2.2 SDK (#1168) 2017-11-30 08:42:53 -08:00
Pranav K fc159ce72f Specify runtime versions to install 2017-11-29 14:09:30 -08:00
BrennanConroy e81746c3b6
Reference Task.Extensions directly 2017-11-29 09:14:37 -08:00
BrennanConroy 531c7cfba1
More micro benchmarks (#1158)
- Hub Protocol benchmark
- Broadcast benchmark
- Run benchmarks validation during builds
2017-11-28 15:39:58 -08:00
Pranav K 887e22ec07 Eclipse S.T.Tasks.Extension version referenced by S.T.Channels 2017-11-22 19:53:01 -08:00
Pawel Kadluczka 4394b57143 JWT C# Sample 2017-11-21 16:32:56 -08:00
Pawel Kadluczka a4dd0cd9d7 JWT JS Sample 2017-11-21 16:32:56 -08:00
Pawel Kadluczka 18a65496b7 Adding support for JWT in the TS client 2017-11-21 16:32:56 -08:00
Pawel Kadluczka 0bafb304c2 Adding support for JWT in the C# client
Fixes: #1018

(Bonus: also enabling passing headers)
2017-11-21 16:32:56 -08:00
BrennanConroy fadd6f89fd
Start Redis first in tests (#1146) 2017-11-21 14:03:54 -08:00
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