aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi17
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index c0ad91a1..3fa143cc 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -661,6 +661,19 @@ HTTPS daemon. This option should be followed by an
661"const char*" argument. 661"const char*" argument.
662This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_CERT'. 662This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_CERT'.
663 663
664@item MHD_OPTION_HTTPS_KEY_PASSWORD
665@cindex SSL
666@cindex TLS
667Memory pointer to the password that decrypts the
668private key to be used by the HTTPS daemon.
669This option should be followed by an
670"const char*" argument.
671This should be used in conjunction with 'MHD_OPTION_HTTPS_MEM_KEY'.
672
673The password (or passphrase) is only used immediately during
674@code{MHD_start_daemon()}. Thus, the application may want to
675erase it from memory afterwards for additional security.
676
664@item MHD_OPTION_HTTPS_MEM_CERT 677@item MHD_OPTION_HTTPS_MEM_CERT
665@cindex SSL 678@cindex SSL
666@cindex TLS 679@cindex TLS
@@ -1103,14 +1116,14 @@ data is available, the first time the callback is
1103invoked there won't be upload data, as this is done 1116invoked there won't be upload data, as this is done
1104just after MHD parses the headers. If supported by 1117just after MHD parses the headers. If supported by
1105the client and the HTTP version, the application can 1118the client and the HTTP version, the application can
1106at this point queue an error response to possibly 1119at this point queue an error response to possibly
1107avoid the upload entirely. If no response is generated, 1120avoid the upload entirely. If no response is generated,
1108MHD will (if required) automatically send a 100 CONTINUE 1121MHD will (if required) automatically send a 100 CONTINUE
1109reply to the client. 1122reply to the client.
1110 1123
1111Afterwards, POST data will be passed to the callback 1124Afterwards, POST data will be passed to the callback
1112to be processed incrementally by the application. The 1125to be processed incrementally by the application. The
1113application may return @code{MHD_NO} to forcefully 1126application may return @code{MHD_NO} to forcefully
1114terminate the TCP connection without generating a 1127terminate the TCP connection without generating a
1115proper HTTP response. Once all of the upload data has 1128proper HTTP response. Once all of the upload data has
1116been provided to the application, the application 1129been provided to the application, the application