commit | 7f3c1df248af20eeb70a93a5df39665ae3df62dc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Jun 18 09:22:21 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jun 22 18:43:14 2021 +0200 |
tree | eef8fbb264de6c3d560008de41df300034cce752 | |
parent | eea3817a47586eb27340f37bd77be155c679f7a0 [diff] [blame] |
MINOR: proxy: replace the pendconns-related stuff with a struct queue All three elements (pendconns, nbpend, queue_idx) were moved to struct queue.
diff --git a/src/proxy.c b/src/proxy.c index 5a7f103..f6d0442 100644 --- a/src/proxy.c +++ b/src/proxy.c
@@ -1292,7 +1292,7 @@ { memset(p, 0, sizeof(struct proxy)); p->obj_type = OBJ_TYPE_PROXY; - p->pendconns = EB_ROOT; + p->queue.head = EB_ROOT; LIST_INIT(&p->acl); LIST_INIT(&p->http_req_rules); LIST_INIT(&p->http_res_rules);