diff options
author | Alessandro Ghedini <alessandro@cloudflare.com> | 2016-02-16 12:21:03 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-04-18 23:17:19 +0200 |
commit | dc68f2dab952a4a61d61e175d246ac2e55d75d5b (patch) | |
tree | 79ceb76399d4710ce87698217a83f057583732f1 /lib/urldata.h | |
parent | a542536cf6e8f2eab0788486a60f810a58cb3b3e (diff) | |
download | curl-dc68f2dab952a4a61d61e175d246ac2e55d75d5b.tar.gz |
url: add CURLOPT_TCP_FASTOPEN option
Diffstat (limited to 'lib/urldata.h')
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |