Makes an HTTP server stop accepting connections on the specified socket
This may be useful when a socket has been sent via file descriptor passing
and is no longer needed by the current process.
If you created this bound socket with evhttp_bind_socket_with_handle or
evhttp_accept_socket_with_handle, this function closes the fd you provided.
If you created this bound socket with evhttp_bind_listener, this function
frees the listener you provided.
\a bound_socket is an invalid pointer after this call returns.
@param http a pointer to an evhttp object
@param bound_socket a handle returned by evhttp_{bind,accept}_socket_with_handle
@see evhttp_bind_socket_with_handle(), evhttp_accept_socket_with_handle()
Makes an HTTP server stop accepting connections on the specified socket
This may be useful when a socket has been sent via file descriptor passing and is no longer needed by the current process.
If you created this bound socket with evhttp_bind_socket_with_handle or evhttp_accept_socket_with_handle, this function closes the fd you provided. If you created this bound socket with evhttp_bind_listener, this function frees the listener you provided.
\a bound_socket is an invalid pointer after this call returns.
@param http a pointer to an evhttp object @param bound_socket a handle returned by evhttp_{bind,accept}_socket_with_handle @see evhttp_bind_socket_with_handle(), evhttp_accept_socket_with_handle()