Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
3ec1461b034836a52e29a8ab0f6ac51506476b29
/
src
/
listener.c
fed93d3
BUG/MEDIUM: listener: read-lock the listener during accept()
by Willy Tarreau
· Tue Feb 01 16:37:00 2022 +0100
08b6f96
MINOR: listener: replace the listener's spinlock with an rwlock
by Willy Tarreau
· Tue Feb 01 16:23:00 2022 +0100
f68b2cb
MINOR: listener: define per-thr struct
by Amaury Denoyelle
· Tue Jan 25 16:21:47 2022 +0100
7f7713d
MINOR: receiver: define a flag for local accept
by Amaury Denoyelle
· Wed Jan 19 11:37:50 2022 +0100
6d19f0d
CLEANUP: listeners: remove unreachable code in clone_listener()
by Willy Tarreau
· Sat Oct 16 14:58:30 2021 +0200
a146289
BUG/MINOR: listener: fix incorrect return on out-of-memory
by Willy Tarreau
· Sat Oct 16 14:45:29 2021 +0200
6dfbef4
MEDIUM: listener: add the "shards" bind keyword
by Willy Tarreau
· Tue Oct 12 15:23:03 2021 +0200
59a877d
MINOR: listeners: add clone_listener() to duplicate listeners at boot time
by Willy Tarreau
· Tue Oct 12 09:36:10 2021 +0200
01cac3f
MEDIUM: listeners: split the thread mask between receiver and bind_conf
by Willy Tarreau
· Tue Oct 12 08:47:54 2021 +0200
d57b9ff
MEDIUM: listeners: support the definition of thread groups on bind lines
by Willy Tarreau
· Wed Sep 29 18:50:31 2021 +0200
a0b9953
REORG: thread/sched: move the thread_info flags to the thread_ctx
by Willy Tarreau
· Thu Sep 30 18:48:37 2021 +0200
9310f48
CLEANUP: tree-wide: remove unneeded include time.h in ~20 files
by Willy Tarreau
· Wed Oct 06 16:18:40 2021 +0200
dbf7802
REORG: listener: move bind_conf_alloc() and listener_state_str() to listener.c
by Willy Tarreau
· Wed Oct 06 09:05:08 2021 +0200
5d9ddc5
BUILD: tree-wide: add several missing activity.h
by Willy Tarreau
· Wed Oct 06 19:54:09 2021 +0200
beeabf5
MINOR: task: provide 3 task_new_* wrappers to simplify the API
by Willy Tarreau
· Fri Oct 01 18:23:30 2021 +0200
c8cac04
MEDIUM: listener: deprecate "process" in favor of "thread" on bind lines
by Willy Tarreau
· Tue Sep 21 14:31:29 2021 +0200
72faef3
MEDIUM: global: remove dead code from nbproc/bind_proc removal
by Willy Tarreau
· Tue Jun 15 08:36:30 2021 +0200
5301f5d
CLEANUP: global: remove pid_bit and all_proc_mask
by Willy Tarreau
· Tue Jun 15 08:13:20 2021 +0200
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
7ea393d
REORG: include: move connection.h to haproxy/connection{,-t}.h
by Willy Tarreau
· Thu Jun 04 18:02:10 2020 +0200
cea0e1b
REORG: include: move task.h to haproxy/task{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:25:40 2020 +0200
f268ee8
REORG: include: split global.h into haproxy/global{,-t}.h
by Willy Tarreau
· Thu Jun 04 17:05:57 2020 +0200
e6ce10b
REORG: include: move sample.h to haproxy/sample{,-t}.h
by Willy Tarreau
· Thu Jun 04 15:33:47 2020 +0200
Next »