Type Alias ngx_http_upstream_t

Source
pub type ngx_http_upstream_t = ngx_http_upstream_s;

Aliased Type§

struct ngx_http_upstream_t {
Show 39 fields pub read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_upstream_s)>, pub write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_upstream_s)>, pub peer: ngx_peer_connection_s, pub pipe: *mut ngx_event_pipe_s, pub request_bufs: *mut ngx_chain_s, pub output: ngx_output_chain_ctx_s, pub writer: ngx_chain_writer_ctx_t, pub conf: *mut ngx_http_upstream_conf_t, pub upstream: *mut ngx_http_upstream_srv_conf_s, pub caches: *mut ngx_array_t, pub headers_in: ngx_http_upstream_headers_in_t, pub resolved: *mut ngx_http_upstream_resolved_t, pub from_client: ngx_buf_s, pub buffer: ngx_buf_s, pub length: i64, pub out_bufs: *mut ngx_chain_s, pub busy_bufs: *mut ngx_chain_s, pub free_bufs: *mut ngx_chain_s, pub input_filter_init: Option<unsafe extern "C" fn(_: *mut c_void) -> isize>, pub input_filter: Option<unsafe extern "C" fn(_: *mut c_void, _: isize) -> isize>, pub input_filter_ctx: *mut c_void, pub create_key: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub create_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub reinit_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub process_header: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>, pub abort_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>, pub finalize_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: isize)>, pub rewrite_redirect: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_table_elt_s, _: usize) -> isize>, pub rewrite_cookie: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_table_elt_s) -> isize>, pub start_time: usize, pub state: *mut ngx_http_upstream_state_t, pub method: ngx_str_t, pub schema: ngx_str_t, pub uri: ngx_str_t, pub ssl_name: ngx_str_t, pub cleanup: *mut Option<unsafe extern "C" fn(_: *mut c_void)>, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub __bindgen_padding_0: [u16; 3],
}

Fields§

§read_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_upstream_s)>§write_event_handler: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_http_upstream_s)>§peer: ngx_peer_connection_s§pipe: *mut ngx_event_pipe_s§request_bufs: *mut ngx_chain_s§output: ngx_output_chain_ctx_s§writer: ngx_chain_writer_ctx_t§conf: *mut ngx_http_upstream_conf_t§upstream: *mut ngx_http_upstream_srv_conf_s§caches: *mut ngx_array_t§headers_in: ngx_http_upstream_headers_in_t§resolved: *mut ngx_http_upstream_resolved_t§from_client: ngx_buf_s§buffer: ngx_buf_s§length: i64§out_bufs: *mut ngx_chain_s§busy_bufs: *mut ngx_chain_s§free_bufs: *mut ngx_chain_s§input_filter_init: Option<unsafe extern "C" fn(_: *mut c_void) -> isize>§input_filter: Option<unsafe extern "C" fn(_: *mut c_void, _: isize) -> isize>§input_filter_ctx: *mut c_void§create_key: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§create_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§reinit_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§process_header: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s) -> isize>§abort_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s)>§finalize_request: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: isize)>§rewrite_redirect: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_table_elt_s, _: usize) -> isize>§rewrite_cookie: Option<unsafe extern "C" fn(_: *mut ngx_http_request_s, _: *mut ngx_table_elt_s) -> isize>§start_time: usize§state: *mut ngx_http_upstream_state_t§method: ngx_str_t§schema: ngx_str_t§uri: ngx_str_t§ssl_name: ngx_str_t§cleanup: *mut Option<unsafe extern "C" fn(_: *mut c_void)>§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§__bindgen_padding_0: [u16; 3]