From 5ca8f147f255755e2647e9bbff7ce86966a44967 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 25 Oct 2013 21:52:26 +0900 Subject: [PATCH] nghttpx: Code cleanup --- 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 eb96b073..1ddecfd6 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -801,7 +801,7 @@ int Http2Upstream::error_reply(Downstream *downstream, "content-type", "text/html; charset=UTF-8", "server", get_config()->server_name, "content-length", content_length.c_str(), - 0 + nullptr }; rv = nghttp2_submit_response(session_, downstream->get_stream_id(), nv,