Gitiles
Code Review
Sign In
git01.mediatek.com
/
haproxy
/
2fe93ab2d74bb242c4aec07436dedb288bfbb961
/
src
/
listener.c
469fa47
BUILD: listener: fix build warning on global_listener_rwlock without threads
by Willy Tarreau
· Tue Nov 22 09:08:23 2022 +0100
ddfb50e
CLEANUP: listener: Remove useless task_queue from manage_global_listener_queue
by Christopher Faulet
· Thu Nov 17 15:16:10 2022 +0100
13e86d9
BUG/MEDIUM: listener: Fix race condition when updating the global mngmt task
by Christopher Faulet
· Thu Nov 17 14:40:20 2022 +0100
a57786e
BUG/MINOR: listener: null pointer dereference suspected by coverity
by Aurelien DARRAGON
· Mon Sep 12 09:26:21 2022 +0200
187396e
CLEANUP: listener: function comment typo in stop_listener()
by Aurelien DARRAGON
· Sun Sep 11 16:19:49 2022 +0200
d46f437
MINOR: proxy/listener: support for additional PAUSED state
by Aurelien DARRAGON
· Fri Sep 09 15:51:37 2022 +0200
0013288
MINOR: listener: small API change
by Aurelien DARRAGON
· Fri Sep 09 15:32:57 2022 +0200
d0b73bc
MEDIUM: listener: switch bind_thread from global to group-local
by Willy Tarreau
· Tue Jun 28 08:30:43 2022 +0200
82e378a
MINOR: fd/thread: get rid of thread_mask()
by Willy Tarreau
· Wed Jul 06 11:22:42 2022 +0200
740038c
MINOR: listener/config: make "thread" always support up to LONGBITS
by Willy Tarreau
· Fri Jul 15 17:18:23 2022 +0200
acd6441
MEDIUM: config: remove the "process" keyword on "bind" lines
by Willy Tarreau
· Fri Jul 15 17:16:01 2022 +0200
bdcd325
MINOR: thread: only use atomic ops to touch the flags
by Willy Tarreau
· Wed Jun 22 09:19:46 2022 +0200
748ece6
MINOR: quic: QUIC transport parameters split.
by Frédéric Lécaille
· Sat May 21 23:58:40 2022 +0200
287f32f
MINOR: listener: automatically enable SSL if a QUIC transport is found
by Willy Tarreau
· Fri May 20 18:16:52 2022 +0200
2071a99
MINOR: listener/ssl: set the SSL xprt layer only once the whole config is known
by Willy Tarreau
· Fri May 20 17:14:31 2022 +0200
78d0dcd
MINOR: listener: set the QUIC xprt layer immediately after parsing the args
by Willy Tarreau
· Fri May 20 17:10:00 2022 +0200
64306cc
MINOR: listener: detect stream vs dgram conflict during parsing
by Willy Tarreau
· Fri May 20 16:20:52 2022 +0200
11ba404
CLEANUP: listener: replace all uses of bind_conf->is_ssl with BC_O_USE_SSL
by Willy Tarreau
· Fri May 20 15:56:32 2022 +0200
3882d2a
MINOR: listener: provide a function to process all of a bind_conf's arguments
by Willy Tarreau
· Fri May 20 15:41:45 2022 +0200
d867934
BUILD: listener: shut report of possible null-deref in listener_accept()
by Willy Tarreau
· Mon May 09 20:41:54 2022 +0200
e01b08d
CLEANUP: listeners/deinit: release accept queue tasklets on deinit
by Willy Tarreau
· Wed Apr 27 18:42:47 2022 +0200
7e2e4f8
CLEANUP: tree-wide: remove 25 occurrences of unneeded fcntl.h
by Willy Tarreau
· Tue Apr 26 10:30:35 2022 +0200
e4d09ce
MINOR: sock: check configured limits at the sock layer, not the listener's
by Willy Tarreau
· Mon Apr 11 15:01:37 2022 +0200
ca1acd6
MINOR: config: add a function to dump all known config keywords
by Willy Tarreau
· Tue Mar 29 15:02:44 2022 +0200
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
Next »