diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-04-07 13:23:23 +0200 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2024-04-07 13:23:23 +0200 |
commit | 3f0b7cd05c22139631d821343d7bcd74f936e534 (patch) | |
tree | 1aefc771bf046cc92eb5bfcad9bb9393d3b950f8 | |
parent | 819fd2eeb52bc578c4f115204f713bd12a53d2c7 (diff) | |
download | libmicrohttpd-3f0b7cd05c22139631d821343d7bcd74f936e534.tar.gz libmicrohttpd-3f0b7cd05c22139631d821343d7bcd74f936e534.zip |
migrated leftover daemon options to the database
-rw-r--r-- | scripts/d_options.rec | 36 |
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 | |||
29 | Comment: Select a sockets watch system call used for internal polling. | 29 | Comment: Select a sockets watch system call used for internal polling. |
30 | Argument1: enum MHD_SockPollSyscall els | 30 | Argument1: enum MHD_SockPollSyscall els |
31 | 31 | ||
32 | Name: log_callback | ||
33 | Value: 60 | ||
34 | Comment: Set a callback to use for logging | ||
35 | Type: struct MHD_DaemonOptionValueLog | ||
36 | Argument1: MHD_LoggingCallback log_cb | ||
37 | Description1: the callback to use for logging, | ||
38 | + NULL to disable logging | ||
39 | Argument2: void *lob_cb_cls | ||
40 | Description2: the closure for the logging callback | ||
41 | |||
32 | # Listen socket | 42 | # Listen socket |
33 | 43 | ||
34 | Name: bind_port | 44 | Name: bind_port |
@@ -117,8 +127,28 @@ Argument1: enum MHD_TlsBackend backend | |||
117 | Description1: the TLS backend to use, | 127 | Description1: 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 | ||
120 | Name: tls_psk_callback | 130 | Name: tls_key_cert |
121 | Value: 121 | 131 | Value: 121 |
132 | Comment: Provide TLS key and certificate data in-memory. | ||
133 | + Works only if TLS mode is enabled. | ||
134 | Type: struct MHD_DaemonOptionValueTlsCert | ||
135 | Argument1: const char *mem_key | ||
136 | Description1: the private key loaded into memory (not a filename) | ||
137 | Argument2: const char *mem_cert | ||
138 | Description2: the certificate loaded into memory (not a filename) | ||
139 | Argument3: const char *mem_cert | ||
140 | Description3: the option passphrase phrase to decrypt the private key, | ||
141 | + could be NULL is private does not need a password | ||
142 | |||
143 | Name: tls_client_ca | ||
144 | Value: 122 | ||
145 | Comment: 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. | ||
147 | Argument1: const char *mem_client_ca | ||
148 | Description1: the CA certificate in memory (not a filename) | ||
149 | |||
150 | Name: tls_psk_callback | ||
151 | Value: 130 | ||
122 | Type: struct MHD_DaemonOptionValueTlsPskCB | 152 | Type: struct MHD_DaemonOptionValueTlsPskCB |
123 | Comment: Configure PSK to use for the TLS key exchange. | 153 | Comment: Configure PSK to use for the TLS key exchange. |
124 | Argument1: MHD_PskServerCredentialsCallback psk_cb | 154 | Argument1: MHD_PskServerCredentialsCallback psk_cb |
@@ -127,7 +157,7 @@ Argument2: void *psk_cb_cls | |||
127 | Description2: the closure for @a psk_cb | 157 | Description2: the closure for @a psk_cb |
128 | 158 | ||
129 | Name: no alpn | 159 | Name: no alpn |
130 | Value: 122 | 160 | Value: 140 |
131 | Type: enum MHD_Bool | 161 | Type: enum MHD_Bool |
132 | Comment: Control ALPN for TLS connection. | 162 | Comment: Control ALPN for TLS connection. |
133 | + Silently ignored for non-TLS. | 163 | + Silently ignored for non-TLS. |
@@ -278,7 +308,7 @@ Value: 360 | |||
278 | Type: struct MHD_DaemonOptionValueReadyCB | 308 | Type: struct MHD_DaemonOptionValueReadyCB |
279 | Comment: Set a callback to be called for pre-start finalisation. | 309 | Comment: 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) |
282 | Argument1: MHD_DaemonReadyCallback cb | 312 | Argument1: MHD_DaemonReadyCallback cb |
283 | Description1: the pre-start callback | 313 | Description1: the pre-start callback |
284 | Argument2: void *cb_cls | 314 | Argument2: void *cb_cls |