- Fix #798: Client-side TCP fast open fails (Linux).

git-svn-id: file:///svn/unbound/trunk@3819 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2016-07-18 13:54:32 +00:00
parent 3cbc01e51f
commit e71f0b2f34
2 changed files with 4 additions and 0 deletions

View file

@ -1,3 +1,6 @@
18 July 2016: Wouter
- Fix #798: Client-side TCP fast open fails (Linux).
14 July 2016: Wouter 14 July 2016: Wouter
- TCP Fast open patch from Sara Dickinson. - TCP Fast open patch from Sara Dickinson.
- Fixed unbound.doxygen for 1.8.11. - Fixed unbound.doxygen for 1.8.11.

View file

@ -260,6 +260,7 @@ outnet_tcp_take_into_use(struct waiting_tcp* w, uint8_t* pkt, size_t pkt_len)
NULL, 0, NULL, NULL) == -1) { NULL, 0, NULL, NULL) == -1) {
#else /* USE_OSX_MSG_FASTOPEN*/ #else /* USE_OSX_MSG_FASTOPEN*/
#ifdef USE_MSG_FASTOPEN #ifdef USE_MSG_FASTOPEN
pend->c->tcp_do_fastopen = 1;
/* Only do TFO for TCP in which case no connect() is required here. /* Only do TFO for TCP in which case no connect() is required here.
Don't combine client TFO with SSL, since OpenSSL can't Don't combine client TFO with SSL, since OpenSSL can't
currently support doing a handshake on fd that already isn't connected*/ currently support doing a handshake on fd that already isn't connected*/