aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp/Grpc.Core/ServerCallHandler.cs
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-26 11:23:01 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-26 11:23:01 -0800
commit29f131428272e3b0f5c13d9ec6417f9e3b6dbc9b (patch)
treecda68966326c8350e4385952d7bde9efe4e8ef2e /src/csharp/Grpc.Core/ServerCallHandler.cs
parenta348fa8a07c207617874127e110e6b952f447272 (diff)
parentbc53734c2ec3a329b10272f4dceb7612cbdcde7e (diff)
Merge github.com:grpc/grpc into credit
Diffstat (limited to 'src/csharp/Grpc.Core/ServerCallHandler.cs')
-rw-r--r--src/csharp/Grpc.Core/ServerCallHandler.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/ServerCallHandler.cs b/src/csharp/Grpc.Core/ServerCallHandler.cs
index 1296947f34..289f97aece 100644
--- a/src/csharp/Grpc.Core/ServerCallHandler.cs
+++ b/src/csharp/Grpc.Core/ServerCallHandler.cs
@@ -111,6 +111,8 @@ namespace Grpc.Core
var finishedTask = asyncCall.ServerSideStreamingRequestCallAsync(new NullObserver<byte[]>());
+ // TODO: this makes the call finish before all reads can be done which causes trouble
+ // in AsyncCall.HandleReadFinished callback. Revisit this.
asyncCall.SendStatusFromServerAsync(new Status(StatusCode.Unimplemented, "No such method.")).Wait();
finishedTask.Wait();