From 57aee184ca0d49695e2f7115a111a245e9444dbf Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 12 Sep 2015 18:33:07 +0900 Subject: [PATCH] Update doc --- src/shrpx_http2_upstream.cc | 1 + src/shrpx_spdy_upstream.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/src/shrpx_http2_upstream.cc b/src/shrpx_http2_upstream.cc index e739d8a4..6455aec9 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -1309,6 +1309,7 @@ int Http2Upstream::on_downstream_header_complete(Downstream *downstream) { if (error_reply(downstream, 500) != 0) { return -1; } + // Returning -1 will signal deletion of dconn. return -1; } diff --git a/src/shrpx_spdy_upstream.cc b/src/shrpx_spdy_upstream.cc index bc60915e..0be56597 100644 --- a/src/shrpx_spdy_upstream.cc +++ b/src/shrpx_spdy_upstream.cc @@ -952,6 +952,7 @@ int SpdyUpstream::on_downstream_header_complete(Downstream *downstream) { if (error_reply(downstream, 500) != 0) { return -1; } + // Returning -1 will signal deletion of dconn. return -1; }