From 9741d9a9270e69b9449d53b98ee05ab698d996ba Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Sun, 26 Mar 2023 14:18:29 +0000 Subject: [PATCH] Wrong condition for rendering response --- src/http/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/server.rs b/src/http/server.rs index ec66f73944c..20f263b442e 100644 --- a/src/http/server.rs +++ b/src/http/server.rs @@ -755,7 +755,7 @@ impl<'a> EspHttpConnection<'a> { where E: Display, { - if self.response_headers.is_some() { + if self.headers.is_some() { info!( "About to handle internal error [{}], response not sent yet", &error