mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-27 04:09:31 +03:00
mhd_send: always call post_cork_setsockopt() after send()
This commit is contained in:
@@ -432,8 +432,8 @@ MHD_send_on_connection_ (struct MHD_Connection *connection,
|
||||
else if (buffer_size > (size_t) ret)
|
||||
connection->epoll_state &= ~MHD_EPOLL_STATE_WRITE_READY;
|
||||
#endif /* EPOLL_SUPPORT */
|
||||
if (buffer_size == (size_t) ret)
|
||||
post_cork_setsockopt (connection, want_cork);
|
||||
post_cork_setsockopt (connection,
|
||||
want_cork ? (buffer_size == (size_t) ret) : false);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user