Hi guys,

I noticed that evhttp_accept_socket_with_handle() sets the
LEV_OPT_CLOSE_ON_FREE flag on underlying evconnlistener, and in this case
calling evhttp_del_accept_socket() later causes socket fd to be freed(while
documentation explicitly says this function does not close). Is this a bug?
Or I should create evconnlistener manually and use evhttp_bind_listener?

--
WBR,
 Constantine

Reply via email to