MINOR: tcp/uxst/sockpair: use fd_want_send() instead of conn_xprt_want_send()

Just like previous commit, we don't need to pass through the connection
layer anymore to enable polling during a connect(), we know the FD, so
let's simply call fd_want_send().
This commit is contained in:
Willy Tarreau 2020-02-21 10:24:51 +01:00
parent 3110eb769b
commit 562e0d8619
3 changed files with 3 additions and 3 deletions

View File

@ -332,7 +332,7 @@ static int sockpair_connect_server(struct connection *conn, int flags)
return SF_ERR_RESOURCE;
}
conn_xprt_want_send(conn); /* for connect status, proxy protocol or SSL */
fd_want_send(fd); /* for connect status, proxy protocol or SSL */
return SF_ERR_NONE; /* connection is OK */
}

View File

@ -585,7 +585,7 @@ int tcp_connect_server(struct connection *conn, int flags)
return SF_ERR_RESOURCE;
}
conn_xprt_want_send(conn); /* for connect status, proxy protocol or SSL */
fd_want_send(fd); /* for connect status, proxy protocol or SSL */
return SF_ERR_NONE; /* connection is OK */
}

View File

@ -587,7 +587,7 @@ static int uxst_connect_server(struct connection *conn, int flags)
return SF_ERR_RESOURCE;
}
conn_xprt_want_send(conn); /* for connect status, proxy protocol or SSL */
fd_want_send(fd); /* for connect status, proxy protocol or SSL */
return SF_ERR_NONE; /* connection is OK */
}