MINOR: queue: add queue_init() to initialize a queue
authorWilly Tarreau <w@1wt.eu>
Wed, 23 Jun 2021 13:08:06 +0000 (15:08 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Jun 2021 08:52:31 +0000 (10:52 +0200)
commitdf3b0cbe31bdb15495a040437496cbdff5d494d4
tree71daa64f75742f579cb38f0aec1b708b0fc85848
parentae0b12ee0349e1ab2c54b0718fee0f9caed51caa
MINOR: queue: add queue_init() to initialize a queue

This is better and cleaner than open-coding this in the server and
proxy code, where it has all chances of becoming wrong once forgotten.
include/haproxy/queue.h
src/proxy.c
src/server.c