diff --git a/src/proto_http.c b/src/proto_http.c index 3a3aa8030..6497dac50 100644 --- a/src/proto_http.c +++ b/src/proto_http.c @@ -2546,7 +2546,7 @@ int http_wait_for_request(struct session *s, struct channel *req, int an_bit) /* 1: we might have to print this header in debug mode */ if (unlikely((global.mode & MODE_DEBUG) && (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) && - (msg->msg_state >= HTTP_MSG_BODY || msg->msg_state == HTTP_MSG_ERROR))) { + msg->msg_state >= HTTP_MSG_BODY)) { char *eol, *sol; sol = req->buf->p; @@ -5694,7 +5694,7 @@ int http_wait_for_response(struct session *s, struct channel *rep, int an_bit) /* 1: we might have to print this header in debug mode */ if (unlikely((global.mode & MODE_DEBUG) && (!(global.mode & MODE_QUIET) || (global.mode & MODE_VERBOSE)) && - (msg->msg_state >= HTTP_MSG_BODY || msg->msg_state == HTTP_MSG_ERROR))) { + msg->msg_state >= HTTP_MSG_BODY)) { char *eol, *sol; sol = rep->buf->p;