version 1.53, 2021/03/17 18:08:32 |
version 1.54, 2021/03/17 18:11:01 |
|
|
|
|
if (s_client_config.clr) |
if (s_client_config.clr) |
SSL_CTX_clear_options(ctx, s_client_config.clr); |
SSL_CTX_clear_options(ctx, s_client_config.clr); |
/* |
|
* DTLS: partial reads end up discarding unread UDP bytes :-( Setting |
|
* read ahead solves this problem. |
|
*/ |
|
if (s_client_config.socket_type == SOCK_DGRAM) |
|
SSL_CTX_set_read_ahead(ctx, 1); |
|
|
|
if (s_client_config.alpn_in) { |
if (s_client_config.alpn_in) { |
unsigned short alpn_len; |
unsigned short alpn_len; |