Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
ca0cdfe86f1d78376c1cc8c5d5f4448a100db1e1
/
src
/
listener.c
62de60d
BUG/MINOR: listener: Don't schedule frontend without task in listener_release()
by Christopher Faulet
· Thu Mar 14 09:29:09 2024 +0100
34c3859
BUG/MINOR: listener: Wake proxy's mngmt task up if necessary on session release
by Christopher Faulet
· Tue Mar 12 07:31:56 2024 +0100
659a23b
BUG/MEDIUM: listener/proxy: fix listeners notify for proxy resume (2nd try)
by Aurelien DARRAGON
· Fri Nov 17 20:36:16 2023 +0100
793a4b5
BUG/MEDIUM: listener: Acquire proxy's lock in relax_listener() if necessary
by Christopher Faulet
· Thu Jul 20 14:53:50 2023 +0200
7741928
BUG/MEDIUM: listener/proxy: fix listeners notify for proxy resume
by Aurelien DARRAGON
· Tue Feb 07 12:36:27 2023 +0100
8283d59
MINOR: listener: pause_listener() becomes suspend_listener()
by Aurelien DARRAGON
· Mon Feb 13 17:45:08 2023 +0100
d41af3e
BUG/MEDIUM: resume from LI_ASSIGNED in default_resume_listener()
by Aurelien DARRAGON
· Tue Feb 07 12:17:20 2023 +0100
4713adc
BUG/MINOR: listener: fix resume_listener() resume return value handling
by Aurelien DARRAGON
· Tue Feb 07 13:26:14 2023 +0100
39f1615
BUG/MEDIUM: listener: fix pause_listener() suspend return value handling
by Aurelien DARRAGON
· Tue Feb 07 11:23:38 2023 +0100
3b78de1
MINOR: listener: make sure we don't pause/resume bypassed listeners
by Aurelien DARRAGON
· Tue Feb 14 08:51:14 2023 +0100
b1918b1
MINOR: listener: workaround for closing a tiny race between resume_listener() and stopping
by Aurelien DARRAGON
· Mon Feb 06 17:19:58 2023 +0100
3e931a4
MINOR: listener: add relax_listener() function
by Aurelien DARRAGON
· Wed Feb 15 09:30:54 2023 +0100
7e2eee0
MINOR: listener/api: add lli hint to listener functions
by Aurelien DARRAGON
· Mon Feb 06 17:06:03 2023 +0100
15c4386
BUG/MINOR: listener: null pointer dereference suspected by coverity
by Aurelien DARRAGON
· Mon Sep 12 09:26:21 2022 +0200
7c9e1f9
CLEANUP: listener: function comment typo in stop_listener()
by Aurelien DARRAGON
· Sun Sep 11 16:19:49 2022 +0200
30476f3
BUG/MINOR: listener: close tiny race between resume_listener() and stopping
by Willy Tarreau
· Thu Jan 19 11:34:21 2023 +0100
49a2f60
BUILD: listener: fix build warning on global_listener_rwlock without threads
by Willy Tarreau
· Tue Nov 22 09:08:23 2022 +0100
e088fb3
BUG/MEDIUM: listener: Fix race condition when updating the global mngmt task
by Christopher Faulet
· Thu Nov 17 14:40:20 2022 +0100
a225fe8
MINOR: listener: small API change
by Aurelien DARRAGON
· Fri Sep 09 15:32:57 2022 +0200
ee3ec40
BUILD: listener: shut report of possible null-deref in listener_accept()
by Willy Tarreau
· Mon May 09 20:41:54 2022 +0200
d276ee5
BUG/MEDIUM: listener: read-lock the listener during accept()
by Willy Tarreau
· Tue Feb 01 16:37:00 2022 +0100
ae3f22f
MINOR: listener: replace the listener's spinlock with an rwlock
by Willy Tarreau
· Tue Feb 01 16:23:00 2022 +0100
5958c43
BUILD: listener: include proxy.h from listener.c
by Willy Tarreau
· Sat May 08 20:30:37 2021 +0200
2b71810
CLEANUP: lists/tree-wide: rename some list operations to avoid some confusion
by Willy Tarreau
· Wed Apr 21 07:32:39 2021 +0200
4781b15
CLEANUP: atomic/tree-wide: replace single increments/decrements with inc/dec
by Willy Tarreau
· Tue Apr 06 13:53:36 2021 +0200
433b05f
MINOR: cfgparse/bind: suggest correct spelling for unknown bind keywords
by Willy Tarreau
· Fri Mar 12 10:14:07 2021 +0100
0182516
CLEANUP: config: make the cfg_keyword parsers take a const for the defproxy
by Willy Tarreau
· Tue Mar 09 09:53:46 2021 +0100
144f84a
MEDIUM: task: extend the state field to 32 bits
by Willy Tarreau
· Tue Mar 02 16:09:26 2021 +0100
dcf753a
CLEANUP: Use the ist() macro whenever possible
by Tim Duesterhus
· Thu Mar 04 17:31:47 2021 +0100
6616132
MINOR: listener: refine the default MAX_ACCEPT from 64 to 4
by Willy Tarreau
· Fri Feb 19 15:50:27 2021 +0100
3679d0c
MINOR: stats: add helper to get status string
by William Dauchy
· Sun Feb 14 23:22:55 2021 +0100
d597ec2
MINOR: listener: export manage_global_listener_queue()
by Willy Tarreau
· Fri Jan 29 14:29:06 2021 +0100
fb5401f
MINOR: listener: export accept_queue_process
by Willy Tarreau
· Fri Jan 29 12:25:23 2021 +0100
02757d0
Revert "BUG/MEDIUM: listener: do not accept connections faster than we can process them"
by Willy Tarreau
· Thu Jan 28 18:07:24 2021 +0100
62e8aaa
BUG/MEDIUM: listener: do not accept connections faster than we can process them
by Willy Tarreau
· Wed Jan 27 17:22:29 2021 +0100
d1f250f
MINOR: listener: now use a generic add_listener() function
by Willy Tarreau
· Fri Dec 04 15:03:36 2020 +0100
07400c5
MINOR: listener: automatically set the port when creating listeners
by Willy Tarreau
· Fri Dec 04 14:49:11 2020 +0100
7f8f6cb
BUG/MEDIUM: stats: prevent crash if counters not alloc with dummy one
by Amaury Denoyelle
· Tue Nov 10 14:24:31 2020 +0100
38dba27
BUG/MEDIUM: listener: only enable a listening listener if needed
by Willy Tarreau
· Wed Nov 04 13:54:00 2020 +0100
ac66d6b
MINOR: proxy; replace the spinlock with an rwlock
by Willy Tarreau
· Tue Oct 20 17:24:27 2020 +0200
835712a
BUG/MINOR: listener: close before free in `listener_accept`
by William Dauchy
· Sun Oct 18 18:37:43 2020 +0200
0aa5a5b
BUILD: listener: avoir a build warning when threads are disabled
by Willy Tarreau
· Fri Oct 16 17:43:04 2020 +0200
a74cb38
MINOR: protocol: register the receiver's I/O handler and not the protocol's
by Willy Tarreau
· Thu Oct 15 21:29:49 2020 +0200
d2fb99f
MINOR: protocol: add a default I/O callback and put it into the receiver
by Willy Tarreau
· Thu Oct 15 21:22:29 2020 +0200
caa91de
MEDIUM: listener: remove the second pass of fd manipulation at the end
by Willy Tarreau
· Thu Oct 15 20:27:02 2020 +0200
9378bbe
MEDIUM: listener: use protocol->accept_conn() to accept a connection
by Willy Tarreau
· Thu Oct 15 10:09:31 2020 +0200
83efc32
MEDIUM: listener: allocate the connection before queuing a new connection
by Willy Tarreau
· Wed Oct 14 17:37:17 2020 +0200
0138f51
CLEANUP: fd: finally get rid of fd_done_recv()
by Willy Tarreau
· Thu Oct 15 20:08:55 2020 +0200
258b351
BUG/MINOR: listener: detect and handle shared sockets stopped in other processes
by Willy Tarreau
· Tue Oct 13 17:46:05 2020 +0200
e03204c
MEDIUM: listeners: implement protocol level ->suspend/resume() calls
by Willy Tarreau
· Fri Oct 09 17:02:21 2020 +0200
7b2febd
MINOR: listeners: split do_unbind_listener() in two
by Willy Tarreau
· Fri Oct 09 17:18:29 2020 +0200
f58b8db
MEDIUM: receivers: add an rx_unbind() method in the protocols
by Willy Tarreau
· Fri Oct 09 16:32:08 2020 +0200
18c20d2
MINOR: listeners: move the LI_O_MWORKER flag to the receiver
by Willy Tarreau
· Fri Oct 09 16:11:46 2020 +0200
75c98d1
CLEANUP: listeners: remove the do_close argument to unbind_listener()
by Willy Tarreau
· Fri Oct 09 15:55:23 2020 +0200
374e9af
MEDIUM: listener: let do_unbind_listener() decide whether to close or not
by Willy Tarreau
· Fri Oct 09 15:47:17 2020 +0200
87acd4e
BROKEN/MEDIUM: listeners: rework the unbind logic to make it idempotent
by Willy Tarreau
· Thu Oct 08 15:36:46 2020 +0200
d6afb53
MEDIUM: listeners: always close master vs worker listeners
by Willy Tarreau
· Fri Oct 09 10:35:40 2020 +0200
95a3460
MINOR: listener: add a few BUG_ON() statements to detect inconsistencies
by Willy Tarreau
· Thu Oct 08 15:32:21 2020 +0200
acde152
MEDIUM: proxy: centralize proxy status update and reporting
by Willy Tarreau
· Wed Oct 07 16:31:39 2020 +0200
caa7df1
MINOR: listeners: add a new stop_listener() function
by Willy Tarreau
· Wed Oct 07 15:58:50 2020 +0200
b4c083f
MINOR: listeners: split delete_listener() in two versions
by Willy Tarreau
· Wed Oct 07 15:36:16 2020 +0200
4b51f42
MEDIUM: listeners: now use the listener's ->enable/disable
by Willy Tarreau
· Fri Sep 25 20:32:28 2020 +0200
010fe15
MINOR: listener: use the protocol's ->rx_resume() method when available
by Willy Tarreau
· Fri Sep 25 17:31:05 2020 +0200
cb66ea6
MINOR: protocol: replace ->pause(listener) with ->rx_suspend(receiver)
by Willy Tarreau
· Fri Sep 25 17:12:32 2020 +0200
d7f331c
MINOR: protocol: rename the ->listeners field to ->receivers
by Willy Tarreau
· Fri Sep 25 17:01:43 2020 +0200
dae0692
CLEANUP: listeners: remove the now unused enable_all_listeners()
by Willy Tarreau
· Fri Sep 25 16:46:38 2020 +0200
7834a3f
MINOR: listeners: export enable_listener()
by Willy Tarreau
· Fri Sep 25 16:40:18 2020 +0200
d008009
CLEANUP: listeners: remove unused disable_listener and disable_all_listeners
by Willy Tarreau
· Fri Sep 25 16:31:30 2020 +0200
e53608b
MINOR: listeners: move fd_stop_recv() to the receiver's socket code
by Willy Tarreau
· Thu Sep 24 18:20:37 2020 +0200
fb76bd5
BUG/MEDIUM: listeners: correctly report pause() errors
by Willy Tarreau
· Thu Sep 24 18:07:48 2020 +0200
58651b4
MEDIUM: listener/proxy: make the listeners notify about proxy pause/resume
by Willy Tarreau
· Thu Sep 24 16:03:29 2020 +0200
5d7f9ce
MINOR: listeners: check the current listener earlier state in resume_listener()
by Willy Tarreau
· Thu Sep 24 18:54:11 2020 +0200
9b3a932
MINOR: listeners: check the current listener state in pause_listener()
by Willy Tarreau
· Thu Sep 24 14:46:34 2020 +0200
efc0eec
MINOR: proxy: maintain per-state counters of listeners
by Willy Tarreau
· Thu Sep 24 07:27:06 2020 +0200
a37b244
MINOR: listeners: introduce listener_set_state()
by Willy Tarreau
· Thu Sep 24 07:23:45 2020 +0200
c6dac6c
MEDIUM: listeners: remove the now unused ZOMBIE state
by Willy Tarreau
· Wed Sep 23 17:34:22 2020 +0200
b6607bf
MEDIUM: listeners: make unbind_listener() converge if needed
by Willy Tarreau
· Wed Sep 23 16:24:23 2020 +0200
cb89e32
MEDIUM: listeners: don't bounce listeners management between queues
by Willy Tarreau
· Fri Sep 25 11:22:59 2020 +0200
02e1975
BUG/MEDIUM: listeners: do not pause foreign listeners
by Willy Tarreau
· Wed Sep 23 17:17:22 2020 +0200
9b3178d
MINOR: listener: pass the chosen protocol to create_listeners()
by Willy Tarreau
· Wed Sep 16 17:58:55 2020 +0200
909c23b
MINOR: listener: remove the inherited arg to create_listener()
by Willy Tarreau
· Tue Sep 15 13:50:58 2020 +0200
b3580b1
MINOR: protocol: rename the ->bind field to ->listen
by Willy Tarreau
· Tue Sep 01 10:26:22 2020 +0200
43046fa
MINOR: listener: move the INHERITED flag down to the receiver
by Willy Tarreau
· Tue Sep 01 15:41:59 2020 +0200
0b91501
MINOR: receiver: add a receiver-specific flag to indicate the socket is bound
by Willy Tarreau
· Tue Sep 01 10:47:07 2020 +0200
818a92e
MINOR: listener: prefer to retrieve the socket's settings via the receiver
by Willy Tarreau
· Thu Sep 03 07:50:19 2020 +0200
eef4542
MINOR: receiver: link the receiver to its owner
by Willy Tarreau
· Thu Sep 03 10:05:03 2020 +0200
0fce6bc
MINOR: receiver: link the receiver to its settings
by Willy Tarreau
· Thu Sep 03 07:46:06 2020 +0200
b743661
REORG: listener: move the listener's proto to the receiver
by Willy Tarreau
· Fri Aug 28 19:51:44 2020 +0200
38ba647
REORG: listener: move the receiving FD to struct receiver
by Willy Tarreau
· Thu Aug 27 08:16:52 2020 +0200
3715906
REORG: listener: move the listening address to a struct receiver
by Willy Tarreau
· Thu Aug 27 07:48:42 2020 +0200
e26993c
MINOR: listener: move bind_proc and bind_thread to struct settings
by Willy Tarreau
· Thu Sep 03 07:18:55 2020 +0200
576a633
CLEANUP: protocol: remove all ->bind_all() and ->unbind_all() functions
by Willy Tarreau
· Tue Sep 01 18:54:13 2020 +0200
063d47d
REORG: listener: move xfer_sock_list to sock.{c,h}.
by Willy Tarreau
· Fri Aug 28 16:29:53 2020 +0200
6767245
MEDIUM: fd: replace usages of fd_remove() with fd_stop_both()
by Willy Tarreau
· Wed Aug 26 11:44:17 2020 +0200
de4db17
MINOR: lists: rename some MT_LIST operations to clarify them
by Willy Tarreau
· Fri Jul 10 08:10:29 2020 +0200
b255105
CLEANUP: include: tree-wide alphabetical sort of include files
by Willy Tarreau
· Tue Jun 09 09:07:15 2020 +0200
6be7849
REORG: include: move cfgparse.h to haproxy/cfgparse.h
by Willy Tarreau
· Fri Jun 05 00:00:29 2020 +0200
dfd3de8
REORG: include: move stream.h to haproxy/stream{,-t}.h
by Willy Tarreau
· Thu Jun 04 23:46:14 2020 +0200
aeed4a8
REORG: include: move log.h to haproxy/log{,-t}.h
by Willy Tarreau
· Thu Jun 04 22:01:04 2020 +0200
dcc048a
REORG: include: move acl.h to haproxy/acl.h{,-t}.h
by Willy Tarreau
· Thu Jun 04 19:11:43 2020 +0200
Next »