aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/server.js
diff options
context:
space:
mode:
authorGravatar Nicolas Noble <nnoble@google.com>2015-01-26 17:03:08 -0800
committerGravatar Nicolas Noble <nnoble@google.com>2015-01-26 17:03:08 -0800
commitf66ccc44d7509303a22a5ed602b366d436864afd (patch)
tree440b5572ae86ebebee04f8878eeb76be802eec4e /src/node/server.js
parente04455a7ff1ead05445daa95d7bc822a7f40b6f5 (diff)
parent49724152edc6907fa4b872f9e7580d4b78a06f77 (diff)
Merge branch 'master' of github.com:google/grpc into json
Diffstat (limited to 'src/node/server.js')
-rw-r--r--src/node/server.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node/server.js b/src/node/server.js
index fe50acb5a1..03cdbe6f98 100644
--- a/src/node/server.js
+++ b/src/node/server.js
@@ -246,6 +246,7 @@ function Server(options) {
call.serverAccept(function(event) {
if (event.data.code === grpc.status.CANCELLED) {
cancelled = true;
+ stream.emit('cancelled');
}
}, 0);
call.serverEndInitialMetadata(0);