On the client side, it's as simple as setting the TCP_FASTOPEN_CONNECT option on the socket.
On the server side, dnsmasq would do something like this on the listening socket:
int qlen = 5; setsockopt(fd, SOL_TCP, TCP_FASTOPEN, &qlen, sizeof(qlen));Chrome and Firefox have supported TCP Fast Open for clients for over a year, and other DNS servers (ex unbound) use it for client and sever connections too.
Could dnsmasq implement TCP Fast Open? Thanks, ~Craig
Description: OpenPGP digital signature
_______________________________________________ Dnsmasq-discuss mailing list Dnsmasqemail@example.com http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss