[BUG] last fix was overzealous and disabled server-close
we must not close on remote shutdown but on remote error only.
diff --git a/src/proto_http.c b/src/proto_http.c
index 33a45e8..6e2f4c6 100644
--- a/src/proto_http.c
+++ b/src/proto_http.c
@@ -3244,7 +3244,7 @@
struct http_txn *txn = &s->txn;
struct http_msg *msg = &s->txn.req;
- if (req->flags & (BF_SHUTW|BF_WRITE_ERROR|BF_WRITE_TIMEOUT)) {
+ if (req->flags & (BF_WRITE_ERROR|BF_WRITE_TIMEOUT)) {
req->analysers &= ~an_bit;
return 1;
}
@@ -4352,7 +4352,7 @@
struct http_txn *txn = &s->txn;
struct http_msg *msg = &s->txn.rsp;
- if (res->flags & (BF_SHUTW|BF_WRITE_ERROR|BF_WRITE_TIMEOUT)) {
+ if (res->flags & (BF_WRITE_ERROR|BF_WRITE_TIMEOUT)) {
res->analysers &= ~an_bit;
return 1;
}