From 0bbff5b73848f3f0b21df87b908620e85ee80784 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 31 Jul 2015 21:25:43 +0900 Subject: [PATCH] nghttpx: Continue if push was failed --- src/shrpx_http2_upstream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shrpx_http2_upstream.cc b/src/shrpx_http2_upstream.cc index db57b9db..9659596c 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -1294,7 +1294,7 @@ int Http2Upstream::on_downstream_header_complete(Downstream *downstream) { downstream->get_request_method() == HTTP_POST)) { if (prepare_push_promise(downstream) != 0) { - return -1; + // Continue to send response even if push was failed. } }