commit 7bfe541156884d5baeb671a2bd90e4c51851533b
parent 23b35cb84b8976ba52cad7c8d9ae2ed535d1d3c1
Author: ng0 <ng0@n0.is>
Date: Wed, 24 Jul 2019 11:37:11 +0000
doxygen.
Diffstat:
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c
@@ -33,7 +33,8 @@
#include "mhd_send.h"
/**
- * Set socket to nodelay, on or off.
+ * Set TCP_NODELAY flag on socket and save the
+ * #sk_tcp_nodelay_on state.
*
* @param connection the MHD_Connection structure
* @param value the state to set, boolean
@@ -56,6 +57,14 @@ MHD_send_socket_state_nodelay_ (struct MHD_Connection *connection,
#endif
}
+/**
+ * Set TCP_NOPUSH flag on socket and save the
+ * #sk_tcp_nodelay_on state.
+ *
+ * @param connection the #MHD_Connection structure
+ * @param value the state to set, boolean
+ * @param state_store the boolean value passed to #sk_tcp_nodelay_on
+ */
void
MHD_send_socket_state_nopush_ (struct MHD_Connection *connection,
bool value,