mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
- 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:
parent
3cbc01e51f
commit
e71f0b2f34
2 changed files with 4 additions and 0 deletions
|
|
@ -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.
|
||||||
|
|
|
||||||
|
|
@ -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*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue