commit | 0de59fd53a117a2878141522acd03e3338320218 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Sep 15 08:10:44 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Sep 15 11:49:52 2017 +0200 |
tree | 4562f388dd5ff0c8e461d54b87409dc6dd622f21 | |
parent | 31794892af34e2c52877928b14f9416a3017d27b [diff] |
MINOR: listeners: new function create_listeners This function is used to create a series of listeners for a specific address and a port range. It automatically calls the matching protocol handlers to add them to the relevant lists. This way cfgparse doesn't need to manipulate listeners anymore. As an added bonus, the memory allocation is checked.