Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
c1a29655f49451d02c86d337d8bc010c48116044
/
src
/
queue.c
0ff395c
BUG/MAJOR: queue/threads: avoid an AB/BA locking issue in process_srv_queue()
by Willy Tarreau
· 5 years ago
bff005a
BUG/MEDIUM: queue: fix the tree walk in pendconn_redistribute.
by Willy Tarreau
· 5 years ago
b4df492
MEDIUM: queues: Use the new _HA_ATOMIC_* macros.
by Olivier Houchard
· 6 years ago
d8499ec
CLEANUP: Fix a typo in the queue subsystem
by Joseph Herlant
· 6 years ago
8ceae72
MEDIUM: init: use initcall for all fixed size pool creations
by Willy Tarreau
· 6 years ago
0108d90
MEDIUM: init: convert all trivial registration calls to initcalls
by Willy Tarreau
· 6 years ago
61c112a
REORG: http: move HTTP rules parsing to http_rules.c
by Willy Tarreau
· 6 years ago
deca26c
BUG/MAJOR: queue/threads: make pendconn_redistribute not lock the server
by Willy Tarreau
· 6 years ago
248cb4c
MEDIUM: queue: adjust position based on priority-class and priority-offset
by Patrick Hemmer
· 6 years ago
268a707
MEDIUM: add set-priority-class and set-priority-offset
by Patrick Hemmer
· 6 years ago
0355dab
MINOR: queue: replace the linked list with a tree
by Patrick Hemmer
· 6 years ago
da282f4
MINOR: queue: store the queue index in the stream when enqueuing
by Patrick Hemmer
· 6 years ago
ffe5e8c
MINOR: stream: rename {srv,prx}_queue_size to *_queue_pos
by Patrick Hemmer
· 6 years ago
a869465
BUG/MEDIUM: queue: prevent a backup server from draining the proxy's connections
by Willy Tarreau
· 6 years ago
ecfe673
MINOR: threads/queue: Get rid of THREAD_WANT_SYNC in the queue code.
by Olivier Houchard
· 6 years ago
3201e4e
MEDIUM: queue: get rid of the pendconn lock
by Willy Tarreau
· 6 years ago
7c6f8a2
MINOR: queue: implement pendconn queue locking functions
by Willy Tarreau
· 6 years ago
88930dd
MINOR: queue: use a distinct variable for the assigned server and the queue
by Willy Tarreau
· 6 years ago
c1a60d6
MINOR: queue: make sure pendconn->strm->pend_pos is always valid
by Willy Tarreau
· 6 years ago
6bdd05c
DOC: queue: document the expected locking model for the server's queue
by Willy Tarreau
· 6 years ago
d0ad4a8
MEDIUM: queue: make pendconn_free() work on the stream instead
by Willy Tarreau
· 6 years ago
9624fae
MINOR: queue: centralize dequeuing code a bit better
by Willy Tarreau
· 6 years ago
7741c85
BUILD/MINOR: fix build when USE_THREAD is not defined
by Ilya Shipitsin
· 7 years ago
fd83f0b
BUG/MEDIUM: threads/queue: wake up other threads upon dequeue
by Christopher Faulet
· 7 years ago
5cd4bbd
BUG/MAJOR: threads/queue: Fix thread-safety issues on the queues management
by Christopher Faulet
· 7 years ago
103e566
BUG/MAJOR: threads/queue: avoid recursive locking in pendconn_get_next_strm()
by Willy Tarreau
· 7 years ago
bafbe01
CLEANUP: pools: rename all pool functions and pointers to remove this "2"
by Willy Tarreau
· 7 years ago
2a944ee
BUILD: threads: Rename SPIN/RWLOCK macros using HA_ prefix
by Christopher Faulet
· 7 years ago
8ba5914
MEDIUM: threads/queue: Make queues thread-safe
by Christopher Faulet
· 7 years ago
29f77e8
MEDIUM: threads/server: Add a lock per server and atomically update server vars
by Christopher Faulet
· 7 years ago
ff8abcd
MEDIUM: threads/proxy: Add a lock per proxy and atomically update proxy vars
by Christopher Faulet
· 7 years ago
52a91d3
MEDIUM: check: server states and weight propagation re-work
by Emeric Brun
· 7 years ago
f3a55db
MINOR: queue: Change pendconn_from_srv/pendconn_from_px into private functions
by Christopher Faulet
· 7 years ago
87566c9
MINOR: queue: Change pendconn_get_next_strm into private function
by Christopher Faulet
· 7 years ago
e168feb
MINOR: proxy: add 'served' field to proxy, equal to total of all servers'
by Andrew Rodland
· 8 years ago
e7dff02
REORG/MEDIUM: stream: rename stream flags from SN_* to SF_*
by Willy Tarreau
· 10 years ago
87b0966
REORG/MAJOR: session: rename the "session" entity to "stream"
by Willy Tarreau
· 10 years ago
9943d31
MINOR: server: make use of srv_is_usable() instead of checking eweight
by Willy Tarreau
· 10 years ago
4aac7db
REORG: checks: put the functions in the appropriate files !
by Willy Tarreau
· 10 years ago
892337c
MAJOR: server: use states instead of flags to store the server state
by Willy Tarreau
· 10 years ago
c93cd16
REORG/MEDIUM: server: split server state and flags in two different variables
by Willy Tarreau
· 10 years ago
87eb1d6
MINOR: server: create srv_was_usable() from srv_is_usable() and use a pointer
by Willy Tarreau
· 10 years ago
3fdb366
MAJOR: connection: replace struct target with a pointer to an enum
by Willy Tarreau
· 12 years ago
f8e8b76
BUG/MEDIUM: zero-weight servers must not dequeue requests from the backend
by Willy Tarreau
· 13 years ago
4426770
CLEANUP: rename possibly confusing struct field "tracked"
by Willy Tarreau
· 13 years ago
af51495
[MINOR] Add active connection list to server
by Simon Horman
· 13 years ago
7d0aaf3
[MEDIUM] stats: split frontend and backend stats
by Willy Tarreau
· 14 years ago
827aee9
[MAJOR] session: remove the ->srv pointer from struct session
by Willy Tarreau
· 14 years ago
9e000c6
[CLEANUP] stream_interface: use inline functions to manipulate targets
by Willy Tarreau
· 14 years ago
664beb8
[MINOR] session: add a pointer to the new target into the session
by Willy Tarreau
· 14 years ago
d132f74
[BUG] queue: don't dequeue proxy-global requests on disabled servers
by Willy Tarreau
· 14 years ago
ac68c5d
[OPTIM] counters: move some max numbers to the counters struct
by Willy Tarreau
· 15 years ago
922a806
[BUG] do not dequeue the backend's pending connections on a dead server
by Willy Tarreau
· 16 years ago
28a9e52
[BUG] dynamic connection throttling could return a max of zero conns
by Willy Tarreau
· 16 years ago
fdccded
[MEDIUM] indicate a reason for a task wakeup
by Willy Tarreau
· 16 years ago
ec6c5df
[CLEANUP] remove many #include <types/xxx> from C files
by Willy Tarreau
· 16 years ago
7c669d7
[BUG] fix the dequeuing logic to ensure that all requests get served
by Willy Tarreau
· 16 years ago
7a63abd
[BUG] log: reported queue position was offed-by-one
by Willy Tarreau
· 16 years ago
7008987
[BUG] queue management: wake oldest request in queues
by Willy Tarreau
· 16 years ago
9909fc1
[MEDIUM] implement the slowstart parameter for servers
by Willy Tarreau
· 17 years ago
e4d7e55
[MAJOR] ported pendconn to mempools v2
by Willy Tarreau
· 17 years ago
d825eef
[MAJOR] replaced all timeouts with struct timeval
by Willy Tarreau
· 17 years ago
96bcfd7
[MAJOR] replaced rbtree with ul2tree.
by Willy Tarreau
· 18 years ago
a8cff1d
[BUILD] fixed a warning on OpenBSD : MIN/MAX redefined
by Willy Tarreau
· 18 years ago
e2e27a5
[MEDIUM] removed now unused fiprm and beprm from proxies
by Willy Tarreau
· 18 years ago
8603431
[MEDIUM] split fe->maxconn into fe->maxconn and be->fullconn
by Willy Tarreau
· 18 years ago
f1221aa
[MEDIUM] separated nbconn into feconn and beconn
by Willy Tarreau
· 18 years ago
830ff45
[MAJOR] reworked ->be, ->fe and ->fi in sessions
by Willy Tarreau
· 18 years ago
73de989
[MAJOR] separate sess->proxy into sess->{fe,fi,be}
by Willy Tarreau
· 18 years ago
b17916e
[CLEANUP] add a few "const char *" where appropriate
by Willy Tarreau
· 18 years ago
e3ba5f0
[CLEANUP] included common/version.h everywhere
by Willy Tarreau
· 18 years ago
2dd0d47
[CLEANUP] renamed include/haproxy to include/common
by Willy Tarreau
· 18 years ago
baaee00
[BIGMOVE] exploded the monolithic haproxy.c file into multiple files.
by Willy Tarreau
· 18 years ago