mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 20:46:11 +02:00
[MINOR] kqueue: use fd_clo() to close the fd
fd_clo() does not call kevent() which is not needed during a close(). This one will be faster.
This commit is contained in:
parent
2ff7622c0c
commit
40562cb00c
@ -244,7 +244,8 @@ int kqueue_register(struct poller *p)
|
||||
p->is_set = __fd_is_set;
|
||||
p->cond_s = p->set = __fd_set;
|
||||
p->cond_c = p->clr = __fd_clr;
|
||||
p->clo = p->rem = __fd_rem;
|
||||
p->rem = __fd_rem;
|
||||
p->clo = __fd_clo;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user