commit | 2e57e0609b8cc352fb51df0b0e05309d1cf9589d | [log] [tgz] |
---|---|---|
author | Piotr Sikora <piotr@cloudflare.com> | Thu Jan 30 14:58:21 2014 -0800 |
committer | Piotr Sikora <piotr@cloudflare.com> | Thu Jan 30 14:58:21 2014 -0800 |
tree | 85bd1f6c3701f815f2178a715332893dc87d4c24 | |
parent | 449e8eeb53d33d6a62622b76bf4862ca983b44f3 [diff] |
Core: handle getsockopt(TCP_FASTOPEN) failures. Linux returns EOPNOTSUPP for non-TCP sockets and ENOPROTOOPT for TCP sockets, because getsockopt(TCP_FASTOPEN) is not implemented so far. While there, lower the log level from ALERT to NOTICE to match other getsockopt() failures. Signed-off-by: Piotr Sikora <piotr@cloudflare.com>