MINOR: checks: Give checks their own wait_list.

Instead of (ab)using the conn_stream's wait_list, which should disappear,
give the checks their own wait_list.
This commit is contained in:
Olivier Houchard
2018-09-12 15:15:12 +02:00
committed by Willy Tarreau
parent c2aa71108a
commit 26e1a8f2bf
2 changed files with 23 additions and 15 deletions

View File

@@ -184,6 +184,7 @@ struct check {
char **envp; /* the environment to use if running a process-based check */
struct pid_list *curpid; /* entry in pid_list used for current process-based test, or -1 if not in test */
struct sockaddr_storage addr; /* the address to check */
struct wait_list wait_list; /* Waiting for I/O events */
char *sni; /* Server name */
};