mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-10 01:12:45 +02:00
MINOR: protocol: rename the ->listeners field to ->receivers
Since the listeners were split into receiver+listener, this field ought to have been renamed because it's confusing. It really links receivers and not listeners, as most of the time it's used via rx.proto_list! The nb_listeners field was updated accordingly.
This commit is contained in:
@@ -90,8 +90,8 @@ struct protocol {
|
||||
int (*pause)(struct listener *l); /* temporarily pause this listener for a soft restart */
|
||||
void (*add)(struct listener *l, int port); /* add a listener for this protocol and port */
|
||||
|
||||
struct list listeners; /* list of listeners using this protocol (under proto_lock) */
|
||||
int nb_listeners; /* number of listeners (under proto_lock) */
|
||||
struct list receivers; /* list of receivers using this protocol (under proto_lock) */
|
||||
int nb_receivers; /* number of receivers (under proto_lock) */
|
||||
struct list list; /* list of registered protocols (under proto_lock) */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user