Skip to content

Commit

Permalink
Wrong condition for rendering response
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Mar 26, 2023
1 parent ff76761 commit 9741d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9741d9a

Please sign in to comment.