libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 30404c348048f01c7f43a3645f4d6ea6154010cc
parent 066f17f28a0a09bb1ea8e25872e42f31b13b50e7
Author: Christian Grothoff <christian@grothoff.org>
Date:   Mon, 22 Jul 2019 18:36:40 +0200

Merge branch 'dev/ng0/gsoc2019' of git+ssh://gnunet.org/libmicrohttpd into dev/ng0/gsoc2019

Diffstat:
Msrc/microhttpd/mhd_send.c | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/microhttpd/mhd_send.c b/src/microhttpd/mhd_send.c @@ -41,13 +41,13 @@ * @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_). + * #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 */