aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2024-04-07 13:23:23 +0200
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2024-04-07 13:23:23 +0200
commit3f0b7cd05c22139631d821343d7bcd74f936e534 (patch)
tree1aefc771bf046cc92eb5bfcad9bb9393d3b950f8
parent819fd2eeb52bc578c4f115204f713bd12a53d2c7 (diff)
downloadlibmicrohttpd-3f0b7cd05c22139631d821343d7bcd74f936e534.tar.gz
libmicrohttpd-3f0b7cd05c22139631d821343d7bcd74f936e534.zip
migrated leftover daemon options to the database
-rw-r--r--scripts/d_options.rec36
1 files changed, 33 insertions, 3 deletions
diff --git a/scripts/d_options.rec b/scripts/d_options.rec
index 54842a54..e1965fb1 100644
--- a/scripts/d_options.rec
+++ b/scripts/d_options.rec
@@ -29,6 +29,16 @@ Value: 41
29Comment: Select a sockets watch system call used for internal polling. 29Comment: Select a sockets watch system call used for internal polling.
30Argument1: enum MHD_SockPollSyscall els 30Argument1: enum MHD_SockPollSyscall els
31 31
32Name: log_callback
33Value: 60
34Comment: Set a callback to use for logging
35Type: struct MHD_DaemonOptionValueLog
36Argument1: MHD_LoggingCallback log_cb
37Description1: the callback to use for logging,
38+ NULL to disable logging
39Argument2: void *lob_cb_cls
40Description2: the closure for the logging callback
41
32# Listen socket 42# Listen socket
33 43
34Name: bind_port 44Name: bind_port
@@ -117,8 +127,28 @@ Argument1: enum MHD_TlsBackend backend
117Description1: the TLS backend to use, 127Description1: the TLS backend to use,
118+ #MHD_TLS_BACKEND_NONE for non-TLS (plain TCP) connections 128+ #MHD_TLS_BACKEND_NONE for non-TLS (plain TCP) connections
119 129
120Name: tls_psk_callback 130Name: tls_key_cert
121Value: 121 131Value: 121
132Comment: Provide TLS key and certificate data in-memory.
133+ Works only if TLS mode is enabled.
134Type: struct MHD_DaemonOptionValueTlsCert
135Argument1: const char *mem_key
136Description1: the private key loaded into memory (not a filename)
137Argument2: const char *mem_cert
138Description2: the certificate loaded into memory (not a filename)
139Argument3: const char *mem_cert
140Description3: the option passphrase phrase to decrypt the private key,
141+ could be NULL is private does not need a password
142
143Name: tls_client_ca
144Value: 122
145Comment: Provide the certificate of the certificate authority (CA) to be used by the MHD daemon for client authentication.
146+ Works only if TLS mode is enabled.
147Argument1: const char *mem_client_ca
148Description1: the CA certificate in memory (not a filename)
149
150Name: tls_psk_callback
151Value: 130
122Type: struct MHD_DaemonOptionValueTlsPskCB 152Type: struct MHD_DaemonOptionValueTlsPskCB
123Comment: Configure PSK to use for the TLS key exchange. 153Comment: Configure PSK to use for the TLS key exchange.
124Argument1: MHD_PskServerCredentialsCallback psk_cb 154Argument1: MHD_PskServerCredentialsCallback psk_cb
@@ -127,7 +157,7 @@ Argument2: void *psk_cb_cls
127Description2: the closure for @a psk_cb 157Description2: the closure for @a psk_cb
128 158
129Name: no alpn 159Name: no alpn
130Value: 122 160Value: 140
131Type: enum MHD_Bool 161Type: enum MHD_Bool
132Comment: Control ALPN for TLS connection. 162Comment: Control ALPN for TLS connection.
133+ Silently ignored for non-TLS. 163+ Silently ignored for non-TLS.
@@ -278,7 +308,7 @@ Value: 360
278Type: struct MHD_DaemonOptionValueReadyCB 308Type: struct MHD_DaemonOptionValueReadyCB
279Comment: Set a callback to be called for pre-start finalisation. 309Comment: Set a callback to be called for pre-start finalisation.
280+ 310+
281+ The specified callback will be called one time, after network initialisation, TLS pre-initialisation, but before the start of the internal threads (if allowed)ю 311+ The specified callback will be called one time, after network initialisation, TLS pre-initialisation, but before the start of the internal threads (if allowed)
282Argument1: MHD_DaemonReadyCallback cb 312Argument1: MHD_DaemonReadyCallback cb
283Description1: the pre-start callback 313Description1: the pre-start callback
284Argument2: void *cb_cls 314Argument2: void *cb_cls