7#ifndef CWIST_NET_HTTP_ASYNC_INTERNAL_H
8#define CWIST_NET_HTTP_ASYNC_INTERNAL_H
struct cwist_async cwist_async
void cwist_async_record_pending(struct cwist_async *a, const cwist_http_response *res)
bool cwist_async_https_take_deferred(void)
uint64_t cwist_http_reactor_generation(void)
Return the current reactor generation counter.
bool cwist_async_res_deferred(const cwist_http_response *res)
void cwist_async_forget_response(const cwist_http_response *res)
struct cwist_async * cwist_async_dispatch_take(cwist_http_response *res)
void cwist_http_async_close_orphan(int client_fd, cwist_http_async_conn_t *conn)
Close an async connection whose owning worker pool is gone.
void cwist_async_forget_handle(const struct cwist_async *a)
bool cwist_http_reactor_post_live(cwist_reactor_t *reactor, uint64_t gen, cwist_reactor_post_t *node)
Post a reactor node only while the captured generation is current.
HTTP Protocol Definitions and Helpers.
struct cwist_reactor cwist_reactor_t
HTTP Response Object. Supports standard string body or Zero-Copy pointer body.