diff options
-rw-r--r-- | src/microhttpd/mhd_send.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c index 10cb97cb..87cecfb4 100644 --- a/src/microhttpd/mhd_send.c +++ b/src/microhttpd/mhd_send.c | |||
@@ -377,19 +377,6 @@ MHD_send_on_connection2_ (struct MHD_Connection *connection, | |||
377 | msg.msg_iov = vector; | 377 | msg.msg_iov = vector; |
378 | msg.msg_iovlen = 2; | 378 | msg.msg_iovlen = 2; |
379 | 379 | ||
380 | /* | ||
381 | * questionable for this case, bus maybe worth considering for now: | ||
382 | * On at least NetBSD (and FreeBSD?) we need to set both msg_control and | ||
383 | * mgs_controllen to 0. | ||
384 | * If you set msg_control to nonnull, NetBSD expects you to have | ||
385 | * msg_controllen > 0. (sys/kern/uipc_syscalls.c in do_sys_sendmsg_so) | ||
386 | * for reference. Thanks to pDNS (for FreeBSD), Riastradh for NetBSD. | ||
387 | * FIXME: this is unnecessary, see the memset() above? | ||
388 | */ | ||
389 | /* | ||
390 | msg.msg_control = 0; | ||
391 | msg.msg_controllen = 0; | ||
392 | */ | ||
393 | ret = sendmsg (s, &msg, MAYBE_MSG_NOSIGNAL); | 380 | ret = sendmsg (s, &msg, MAYBE_MSG_NOSIGNAL); |
394 | } | 381 | } |
395 | #elif HAVE_WRITEV | 382 | #elif HAVE_WRITEV |