|
@ -360,6 +360,7 @@ setfastopen(int fd) |
|
|
if (s == -1) { |
|
|
if (s == -1) { |
|
|
if (errno == EPROTONOSUPPORT || errno == ENOPROTOOPT) { |
|
|
if (errno == EPROTONOSUPPORT || errno == ENOPROTOOPT) { |
|
|
LOGE("fast open is not supported on this platform"); |
|
|
LOGE("fast open is not supported on this platform"); |
|
|
|
|
|
fast_open = 0; |
|
|
} else { |
|
|
} else { |
|
|
ERROR("setsockopt"); |
|
|
ERROR("setsockopt"); |
|
|
} |
|
|
} |
|
|