ng0 6 лет назад
Родитель
Сommit
afe3f5aef4
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      src/microhttpd/mhd_send.c

+ 0 - 4
src/microhttpd/mhd_send.c

@@ -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