connect: add support for new TCP Fast Open API on Linux #2056
The new API added in Linux 4.11 only requires setting a socket option
Notably, this makes it possible to use TFO with SSL connections on Linux
@jay : test230 is from commit dbcced8#diff-c3eb2d696b714d609a3f191d0b60bf94. It checks multiple content encoding. I already had the same problem once while developing this feature, but resubmitting the job was al right. I have tried to make it fail locally (outside travis) without success. I've just found a problem with data length (that can be random) and fixed it. Next travis runs will show if the error occurs again.
referenced this pull request
Nov 7, 2017
Btw, you can use https://www.ghedini.me to test this, e.g. using tcpdump on the first curl run I see:
and then running curl again (once we have received and cached the TFO cookie from the previous connection):