[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 41/154: doxygen for send_
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 41/154: doxygen for send_ |
Date: |
Mon, 19 Aug 2019 10:15:53 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository libmicrohttpd.
commit 4b924674f31d09c222087f8eae0a76882558bd06
Author: ng0 <address@hidden>
AuthorDate: Sun Jul 21 16:34:07 2019 +0000
doxygen for send_
---
src/microhttpd/mhd_send.c | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
index 705ca84c..7afaa69b 100644
--- a/src/microhttpd/mhd_send.c
+++ b/src/microhttpd/mhd_send.c
@@ -64,6 +64,25 @@
* MHD_socket is defined in lib/mhd_sockets.h and the type
* depends on the platform. However it is always a socket.
*/
+/**
+ * Send buffer on connection, and remember the current state of
+ * the socket options; only call setsockopt when absolutely
+ * necessary.
+ *
+ * @param connection the MHD_Connection structure
+ * @param buffer content of the buffer to send
+ * @param buffer_size the size of the buffer (in bytes)
+ * @param options the MHD_SendSocketOptions enum,
+ MHD_SSO_NO_CORK: definitely no corking (use NODELAY, or explicitly
disable cork),
+ MHD_SSO_MAY_CORK: should enable corking (use MSG_MORE, or explicitly
enable cork),
+ MHD_SSO_HDR_CORK: consider tcpi_snd_mss and consider not corking for
the header
+ part if the size of the header is close to the MSS.
+ Only used if we are NOT doing 100 Continue and are still sending the
+ header (provided in full as the buffer to MHD_send_on_connection_ or
as
+ the header to MHD_send_on_connection2_).
+ * @return sum of the number of bytes sent from both buffers or
+ -1 on error
+ */
ssize_t
MHD_send_on_connection_ (struct MHD_Connection *connection,
const char *buffer,
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [GNUnet-SVN] [libmicrohttpd] 64/154: move sendfile function work to connection.c, (continued)
- [GNUnet-SVN] [libmicrohttpd] 64/154: move sendfile function work to connection.c, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 58/154: start SENDMSG/WRITEV., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 60/154: doxygen fix., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 57/154: cover the case of TCP_NOPUSH and TCP_CORK coexisting on the same OS., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 56/154: doxygen, links, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 52/154: doxygen, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 40/154: doxygen for _send2, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 48/154: connection.c: preprocessor ifdef some setsockopts., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 46/154: Merge remote-tracking branch 'origin/master' into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 53/154: reminder, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 41/154: doxygen for send_,
gnunet <=
- [GNUnet-SVN] [libmicrohttpd] 50/154: do use MSG_NOSIGNAL in send() if available, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 47/154: Merge remote-tracking branch 'origin/master' into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 42/154: indent, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 54/154: Merge branch 'dev/ng0/gsoc2019' of git+ssh://gnunet.org/libmicrohttpd into dev/ng0/gsoc2019, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 51/154: gnutls cork integration, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 61/154: incomplete commit, adding 2 new helper functions and more., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 69/154: function replace., gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 79/154: fix, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 82/154: revert last patch, should be only on master for now, gnunet, 2019/08/19
- [GNUnet-SVN] [libmicrohttpd] 67/154: remove commented code, replaced by functions., gnunet, 2019/08/19