commit 066f17f28a0a09bb1ea8e25872e42f31b13b50e7
parent 5304f73f9e8ebeafc1b80f2033b7c3add1169e75
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 22 Jul 2019 18:36:36 +0200
reminder
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -364,6 +364,7 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection,
vector[1].iov_base = buffer;
vector[1].iov_len = strlen (buffer);
iovcnt = sizeof (vector) / sizeof (struct iovec);
+ // FIXME: maybe use sendmsg() if available instead!
ret = writev (connection->socket_fd, vector, iovcnt);
#if TCP_CORK