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. } }