Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Dec 2019 19:58:27 +0000
From:      Jeremy Harris <jgh@wizmail.org>
To:        freebsd-transport@freebsd.org
Subject:   Re: TCP Fast Open
Message-ID:  <f07bb11e-4f69-b714-ce8d-881e68a20c6b@wizmail.org>
In-Reply-To: <F24D850E-C6B6-4600-9B28-2439D70447A0@freebsd.org>
References:  <5276cc23-d37f-e55e-11c5-030314e9e32c@wizmail.org> <1206B1BE-3B7E-45D0-8C2B-6012A5CB6298@freebsd.org> <2752006b-cd6b-7b8b-d23b-ae2c794dc104@wizmail.org> <f59092f1-9f93-d5c3-e7a2-06ba88bd7385@wizmail.org> <F24D850E-C6B6-4600-9B28-2439D70447A0@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/12/2019 19:43, Michael Tuexen wrote:
> Are you asking how to figure out whether TFO was used or not?
> In that case you can use 
> getsockopt(fd, IPPROTO_TCP, TCP_FASTOPEN, &on, &len);
> If on == 0, TFO was not used, on != 0, TFO was used.

I'd found that, but it's so far unclear what choices it
makes among
- didn't try TFO
- tried TFO but the server didn't take it up
- server accepted the TFO cookie, but not the data that was on the SYN
- server acked the data
-- 
Cheers,
  Jeremy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f07bb11e-4f69-b714-ce8d-881e68a20c6b>