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