diff --git a/src/dns_client.c b/src/dns_client.c index 11a2a41..f269628 100644 --- a/src/dns_client.c +++ b/src/dns_client.c @@ -930,7 +930,8 @@ static int _DNS_client_create_socket_tls(struct dns_server_info *server_info) tlog(TLOG_DEBUG, "enable TCP fast open failed."); } - setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &yes, sizeof(yes)); + // ? this cause ssl crash ? + // setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &yes, sizeof(yes)); if (connect(fd, (struct sockaddr *)&server_info->addr, server_info->ai_addrlen) != 0) { if (errno != EINPROGRESS) {