commio: Explicitly ignore return value from setsockopt(TCP_DEFER_ACCEPT).
This commit is contained in:
parent
f1709d5ac8
commit
e053adc87e
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ rb_listen(rb_fde_t *F, int backlog, int defer_accept)
|
|||
#ifdef TCP_DEFER_ACCEPT
|
||||
if (defer_accept && !result)
|
||||
{
|
||||
setsockopt(F->fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &backlog, sizeof(int));
|
||||
(void)setsockopt(F->fd, IPPROTO_TCP, TCP_DEFER_ACCEPT, &backlog, sizeof(int));
|
||||
}
|
||||
#endif
|
||||
#ifdef SO_ACCEPTFILTER
|
||||
|
|
Loading…
Reference in a new issue