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