cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
cwist_http_async_conn Struct Reference

#include <http.h>

Collaboration diagram for cwist_http_async_conn:

Public Attributes

int fd
 
void * user_ctx
 
char * rbuf
 
size_t cap
 
size_t len
 
char * obuf
 
size_t ocap
 
size_t olen
 
bool virgin
 
bool expect_continue_sent
 
uint32_t last_active_sec
 
uint32_t worker_id
 
cwist_reactor_t * reactor
 
cwist_async_handler_t handler
 
bool peer_eof
 
bool rx_recv_inflight
 
bool rx_data_ready
 
bool rx_prefers_poll
 
uint64_t rx_armed_ns
 
uint64_t kern_last_mono_ns
 
bool kern_valid
 
cwist_bdr_cursor_t bdr_cursor
 
uint32_t stash_grown_sec
 

Detailed Description

Definition at line 456 of file http.h.

Member Data Documentation

◆ bdr_cursor

cwist_bdr_cursor_t cwist_http_async_conn::bdr_cursor

Definition at line 497 of file http.h.

◆ cap

size_t cwist_http_async_conn::cap

Definition at line 460 of file http.h.

Referenced by cwist_http_async_conn_fill(), and cwist_http_receive_request_nb().

◆ expect_continue_sent

bool cwist_http_async_conn::expect_continue_sent

Definition at line 466 of file http.h.

Referenced by cwist_http_receive_request_nb().

◆ fd

int cwist_http_async_conn::fd

◆ handler

cwist_async_handler_t cwist_http_async_conn::handler

Definition at line 470 of file http.h.

Referenced by cwist_http_async_rearm(), and cwist_http_pool_submit_async().

◆ kern_last_mono_ns

uint64_t cwist_http_async_conn::kern_last_mono_ns

Definition at line 492 of file http.h.

◆ kern_valid

bool cwist_http_async_conn::kern_valid

Definition at line 493 of file http.h.

◆ last_active_sec

uint32_t cwist_http_async_conn::last_active_sec

Definition at line 467 of file http.h.

Referenced by cwist_http_async_rearm(), and cwist_http_pool_submit_async().

◆ len

◆ obuf

◆ ocap

size_t cwist_http_async_conn::ocap

Definition at line 463 of file http.h.

Referenced by cwist_http_coalesce_append(), and cwist_http_send_response_coalesced().

◆ olen

◆ peer_eof

bool cwist_http_async_conn::peer_eof

◆ rbuf

char* cwist_http_async_conn::rbuf

◆ reactor

◆ rx_armed_ns

uint64_t cwist_http_async_conn::rx_armed_ns

Definition at line 488 of file http.h.

◆ rx_data_ready

bool cwist_http_async_conn::rx_data_ready

Definition at line 480 of file http.h.

Referenced by cwist_http_async_conn_fill().

◆ rx_prefers_poll

bool cwist_http_async_conn::rx_prefers_poll

Definition at line 487 of file http.h.

◆ rx_recv_inflight

bool cwist_http_async_conn::rx_recv_inflight

Definition at line 479 of file http.h.

Referenced by cwist_http_async_conn_fill().

◆ stash_grown_sec

uint32_t cwist_http_async_conn::stash_grown_sec

◆ user_ctx

void* cwist_http_async_conn::user_ctx

◆ virgin

bool cwist_http_async_conn::virgin

Definition at line 465 of file http.h.

Referenced by cwist_http_async_conn_fill(), and cwist_http_pool_submit_async().

◆ worker_id

uint32_t cwist_http_async_conn::worker_id

Definition at line 468 of file http.h.

Referenced by cwist_http_async_close_orphan(), and cwist_http_pool_submit_async().


The documentation for this struct was generated from the following file: