commit 6c03b75c18c25a3c90fbac02dc332bed8fbcafdb
parent 30404c348048f01c7f43a3645f4d6ea6154010cc
Author: ng0 <ng0@n0.is>
Date: Mon, 22 Jul 2019 17:17:04 +0000
doxygen: MHD_SSO
Diffstat:
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/mhd_send.h b/src/microhttpd/mhd_send.h
@@ -37,13 +37,20 @@
#include "connection.h"
#include "connection_https.h"
+/**
+ * The enumeration of send socket options.
+ */
enum MHD_SendSocketOptions
{
- /* definitely no corking (use NODELAY, or explicitly disable cork) */
+ /**
+ * definitely no corking (use NODELAY, or explicitly disable cork)
+ */
MHD_SSO_NO_CORK = 0,
- /* should enable corking (use MSG_MORE, or explicitly enable cork) */
+ /**
+ * should enable corking (use MSG_MORE, or explicitly enable cork)
+ */
MHD_SSO_MAY_CORK = 1,
- /*
+ /**
* 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