Added configuration option 'dtls-psk'

When this option is set to false, the DTLS-PSK protocol
will not be negotiated by worker processes. The process will fallback
to the legacy protocol in that case.
This commit is contained in:
Nikos Mavrogiannopoulos
2016-09-22 15:16:34 +02:00
parent 33089ab74e
commit 4c85fa97f0
7 changed files with 25 additions and 6 deletions

View File

@@ -1926,7 +1926,6 @@ static int connect_handler(worker_st * ws)
if (ws->udp_state != UP_DISABLED) {
if (ws->user_config->dpd > 0) {
ret =
cstp_printf(ws, "X-DTLS-DPD: %u\r\n",