ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
http_server_http3 Struct Reference

For acip http3 server, this is the live record that ties http, control, request, settings_length together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

Data Fields

nghttp3_conn * http
int64_t control
int64_t request
char origin [512U]
char path [512U]
uint8_t settings [96U]
size_t settings_length
size_t settings_written
size_t settings_acked
size_t header_bytes
int64_t pending_stream
size_t pending_bytes
bool pending
bool settings_received
bool headers_done
bool responded
bool accepted
bool malformed
bool method
bool scheme
bool authority
bool protocol
bool request_path
bool request_origin
http_server_t * http_server
char peer_address [64]
char method_text [32]
char request_target [2048U]
char header_names [64U][2048U]
char header_values [64U][2048U]
http_header_t headers [64U]
size_t header_count
uint8_t * request_body
size_t request_body_length
size_t request_body_capacity
bool request_end_stream
uint8_t * response_body
size_t response_length
size_t response_offset
http3_stream_state_t * streams

Detailed Description

For acip http3 server, this is the live record that ties http, control, request, settings_length together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Definition at line 21 of file http3.c.

Field Documentation

◆ accepted

bool http_server_http3::accepted

Definition at line 30 of file http3.c.

Referenced by http_server_http3_accepted().

◆ authority

bool http_server_http3::authority

Definition at line 31 of file http3.c.

◆ control

int64_t http_server_http3::control

◆ header_bytes

size_t http_server_http3::header_bytes

Definition at line 26 of file http3.c.

◆ header_count

size_t http_server_http3::header_count

Definition at line 37 of file http3.c.

◆ header_names

char http_server_http3::header_names[64U][2048U]

Definition at line 35 of file http3.c.

◆ header_values

char http_server_http3::header_values[64U][2048U]

Definition at line 35 of file http3.c.

◆ headers

http_header_t http_server_http3::headers[64U]

Definition at line 36 of file http3.c.

◆ headers_done

bool http_server_http3::headers_done

Definition at line 30 of file http3.c.

◆ http

nghttp3_conn* http_server_http3::http

◆ http_server

http_server_t* http_server_http3::http_server

Definition at line 32 of file http3.c.

Referenced by http_server_http3_create().

◆ malformed

bool http_server_http3::malformed

Definition at line 30 of file http3.c.

◆ method

bool http_server_http3::method

Definition at line 31 of file http3.c.

◆ method_text

char http_server_http3::method_text[32]

Definition at line 34 of file http3.c.

◆ origin

char http_server_http3::origin[512U]

Definition at line 24 of file http3.c.

Referenced by http_server_http3_create().

◆ path

char http_server_http3::path[512U]

Definition at line 24 of file http3.c.

Referenced by http_server_http3_create().

◆ peer_address

char http_server_http3::peer_address[64]

Definition at line 33 of file http3.c.

Referenced by http_server_http3_create().

◆ pending

bool http_server_http3::pending

Definition at line 29 of file http3.c.

Referenced by http_server_http3_write(), and http_server_http3_wrote().

◆ pending_bytes

size_t http_server_http3::pending_bytes

Definition at line 28 of file http3.c.

Referenced by http_server_http3_write(), and http_server_http3_wrote().

◆ pending_stream

int64_t http_server_http3::pending_stream

Definition at line 27 of file http3.c.

Referenced by http_server_http3_write(), and http_server_http3_wrote().

◆ protocol

bool http_server_http3::protocol

Definition at line 31 of file http3.c.

◆ request

int64_t http_server_http3::request

Definition at line 23 of file http3.c.

Referenced by http_server_http3_accepted(), and http_server_http3_create().

◆ request_body

uint8_t* http_server_http3::request_body

Definition at line 38 of file http3.c.

◆ request_body_capacity

size_t http_server_http3::request_body_capacity

Definition at line 39 of file http3.c.

◆ request_body_length

size_t http_server_http3::request_body_length

Definition at line 39 of file http3.c.

◆ request_end_stream

bool http_server_http3::request_end_stream

Definition at line 40 of file http3.c.

◆ request_origin

bool http_server_http3::request_origin

Definition at line 31 of file http3.c.

◆ request_path

bool http_server_http3::request_path

Definition at line 31 of file http3.c.

◆ request_target

char http_server_http3::request_target[2048U]

Definition at line 34 of file http3.c.

◆ responded

bool http_server_http3::responded

Definition at line 30 of file http3.c.

◆ response_body

uint8_t* http_server_http3::response_body

Definition at line 41 of file http3.c.

◆ response_length

size_t http_server_http3::response_length

Definition at line 42 of file http3.c.

◆ response_offset

size_t http_server_http3::response_offset

Definition at line 42 of file http3.c.

◆ scheme

bool http_server_http3::scheme

Definition at line 31 of file http3.c.

◆ settings

uint8_t http_server_http3::settings[96U]

Definition at line 25 of file http3.c.

Referenced by http_server_http3_write().

◆ settings_acked

size_t http_server_http3::settings_acked

Definition at line 26 of file http3.c.

Referenced by http_server_http3_ack().

◆ settings_length

size_t http_server_http3::settings_length

Definition at line 26 of file http3.c.

Referenced by http_server_http3_write().

◆ settings_received

bool http_server_http3::settings_received

Definition at line 30 of file http3.c.

◆ settings_written

size_t http_server_http3::settings_written

Definition at line 26 of file http3.c.

Referenced by http_server_http3_ack(), http_server_http3_write(), and http_server_http3_wrote().

◆ streams

http3_stream_state_t* http_server_http3::streams

Definition at line 43 of file http3.c.


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