summaryrefslogtreecommitdiff
path: root/src/node_http2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_http2.cc')
-rw-r--r--src/node_http2.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/node_http2.cc b/src/node_http2.cc
index a3ce022835..ea60fb459c 100644
--- a/src/node_http2.cc
+++ b/src/node_http2.cc
@@ -1948,8 +1948,7 @@ int Http2Stream::DoShutdown(ShutdownWrap* req_wrap) {
NGHTTP2_ERR_NOMEM);
Debug(this, "writable side shutdown");
}
- req_wrap->Done(0);
- return 0;
+ return 1;
}
// Destroy the Http2Stream and render it unusable. Actual resources for the