dnsdis TCP Fast Open / TCP_FASTOPEN on macOS? #16066
-
I am trying to build and run dnsdist for regression tests on macOS. I cannot figure out how to enable TCP_FASTOPEN. I don't see any option in ./configure for fast open. I am trying to figure out where does the TCP_FASTOPEN come from. Currently, it is undefined and I get this during regression tests:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ah, it seems this should be defined in but interestingly, I do see this defined there in macOS |
Beta Was this translation helpful? Give feedback.
-
Ah, the issue is actually |
Beta Was this translation helpful? Give feedback.
yeah it seems to be the case that macOS and linux has different API for TCP Fast Open; this is how unbound does it
https://github.com/NLnetLabs/unbound/blob/8faa95354d9ce5cace6daeeba404c74f6a5027aa/services/outside_network.c#L677
I will open a new issue here
#16068