This commit is contained in:
ng0
2019-07-26 21:20:56 +00:00
parent 7a9f4c60e7
commit afe3f5aef4
-4
View File
@@ -166,8 +166,6 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
const MHD_SCKT_OPT_BOOL_ off_val = 0;
const MHD_SCKT_OPT_BOOL_ on_val = 1;
connection->sk_cork_on = true;
/* error handling from send_param_adapter() */
if ((MHD_INVALID_SOCKET == s) || (MHD_CONNECTION_CLOSED == connection->state))
{
@@ -320,8 +318,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
const MHD_SCKT_OPT_BOOL_ off_val = 0;
struct iovec vector[2];
connection->sk_cork_on = true;
have_cork = ! connection->sk_cork_on;
/*
#if TCP_NODELAY