mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Referenced the gnutls_load_file() function in the HTTPs examples.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
Thu Dec 6 02:11:15 -03 2018
|
||||
Referenced the gnutls_load_file() function in the HTTPs examples. -SC
|
||||
|
||||
Wed Dec 5 18:08:59 CET 2018
|
||||
Fix regression causing URLs to be unescaped twice. -CG
|
||||
|
||||
|
||||
@@ -204,6 +204,8 @@ main (int argc, char *const *argv)
|
||||
MHD_OPTION_URI_LOG_CALLBACK, &uri_logger_cb, NULL,
|
||||
MHD_OPTION_NOTIFY_COMPLETED, &completed_callback, NULL,
|
||||
MHD_OPTION_CONNECTION_LIMIT, (unsigned int) 1000,
|
||||
/* Optionally, the gnutls_load_file() can be used to
|
||||
load the key and the certificate from file. */
|
||||
MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem,
|
||||
MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem,
|
||||
MHD_OPTION_END);
|
||||
|
||||
@@ -972,6 +972,8 @@ main (int argc, char *const *argv)
|
||||
MHD_OPTION_CONNECTION_TIMEOUT, (unsigned int) (120 /* seconds */),
|
||||
MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) NUMBER_OF_THREADS,
|
||||
MHD_OPTION_NOTIFY_COMPLETED, &response_completed_callback, NULL,
|
||||
/* Optionally, the gnutls_load_file() can be used to
|
||||
load the key and the certificate from file. */
|
||||
MHD_OPTION_HTTPS_MEM_KEY, srv_signed_key_pem,
|
||||
MHD_OPTION_HTTPS_MEM_CERT, srv_signed_cert_pem,
|
||||
MHD_OPTION_END);
|
||||
|
||||
Reference in New Issue
Block a user