Mercurial > hg > nginx-quic
diff src/event/ngx_event_timer.c @ 5550:3c5ddf0575d8
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>
author | Piotr Sikora <piotr@cloudflare.com> |
---|---|
date | Thu, 30 Jan 2014 14:58:21 -0800 |
parents | 876e6b0814a5 |
children | 3377f9459e99 |