- Use TCP_NODELAY on TLS sockets to speed up the TLS handshake.

This commit is contained in:
Yorgos Thessalonikefs
2025-01-10 12:11:59 +01:00
parent ded4c82ced
commit 7559d26c93
6 changed files with 63 additions and 30 deletions
+2 -1
View File
@@ -1938,7 +1938,8 @@ int comm_point_send_udp_msg(struct comm_point *c, sldns_buffer* packet,
}
int outnet_get_tcp_fd(struct sockaddr_storage* ATTR_UNUSED(addr),
socklen_t ATTR_UNUSED(addrlen), int ATTR_UNUSED(tcp_mss), int ATTR_UNUSED(dscp))
socklen_t ATTR_UNUSED(addrlen), int ATTR_UNUSED(tcp_mss),
int ATTR_UNUSED(dscp), int ATTR_UNUSED(nodelay))
{
log_assert(0);
return -1;