Type Alias ngx_http_upstream_t
Source pub type ngx_http_upstream_t = ngx_http_upstream_s;
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],
}
§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)>