Just like with CO_FL_SOCK_RD_SH, we don't need to check for this flag too
early because conn_sock_send() already does it. No error was lost so it
was harmless, it was only useless code.
{
struct socks4_request req_line;
- /* we might have been called just after an asynchronous shutw */
- if (conn->flags & CO_FL_SOCK_WR_SH)
- goto out_error;
-
if (!conn_ctrl_ready(conn))
goto out_error;
*/
int conn_si_send_proxy(struct connection *conn, unsigned int flag)
{
- /* we might have been called just after an asynchronous shutw */
- if (conn->flags & CO_FL_SOCK_WR_SH)
- goto out_error;
-
if (!conn_ctrl_ready(conn))
goto out_error;