mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-19 18:28:33 +00:00
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:
parent
3110eb769b
commit
562e0d8619
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user