Add kqueue event module. Code inspired by nginx. There are a lot of room for optimization here, this is just first working version.
This commit is contained in:
committed by
Justin Maggard
parent
aefe4dd0bf
commit
7ba9e52fc8
@ -123,7 +123,7 @@ void
|
||||
CloseSocket_upnphttp(struct upnphttp * h)
|
||||
{
|
||||
|
||||
event_module.del(&h->ev);
|
||||
event_module.del(&h->ev, EV_FLAG_CLOSING);
|
||||
if(close(h->ev.fd) < 0)
|
||||
{
|
||||
DPRINTF(E_ERROR, L_HTTP, "CloseSocket_upnphttp: close(%d): %s\n", h->ev.fd, strerror(errno));
|
||||
|
Reference in New Issue
Block a user