From dc68f2dab952a4a61d61e175d246ac2e55d75d5b Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Tue, 16 Feb 2016 12:21:03 +0000 Subject: url: add CURLOPT_TCP_FASTOPEN option --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index aea688ced..016761929 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -544,6 +544,8 @@ struct ConnectBits { connection */ bool type_set; /* type= was used in the URL */ bool multiplex; /* connection is multiplexed */ + + bool tcp_fastopen; /* use TCP Fast Open */ }; struct hostname { @@ -1650,6 +1652,7 @@ struct UserDefined { bool tcp_keepalive; /* use TCP keepalives */ long tcp_keepidle; /* seconds in idle before sending keepalive probe */ long tcp_keepintvl; /* seconds between TCP keepalive probes */ + bool tcp_fastopen; /* use TCP Fast Open */ size_t maxconnects; /* Max idle connections in the connection cache */ -- cgit v1.2.3