ngx_http_mxcache_conn_s Struct Reference

MXCache structure. More...

#include <ngx_http_mxcache_module.h>

Data Fields

ngx_http_request_t * r
u_char * key
 key to memcached
ngx_uint_t flag
 memcached flag
ngx_uint_t exp_time
 cache expire time (s)
ngx_chain_t * request
 memcached request string
u_char * res_uri
 resource to get (uri)
u_char * err
 optional error message
ngx_uint_t read_timeout
 read timeout (ms)
ngx_uint_t write_timeout
 write timeout (ms)
ngx_pooled_connection_tconnection
 connection from connection pool
ngx_buf_t * buffer
 tmp buffer
ngx_chain_t * out_bufs
 output data
ngx_chain_t * out_bufs_tail
 last buffer in output data
u_char * data_begin
 after all this will point to first byte of the requested data
ngx_uint_t response_length
 response length in bytes
ngx_uint_t bytes
 requested data length
ngx_int_t header_len
 memcached header length
ngx_int_t state
 request state
ngx_int_t terminated
 request terminated
ngx_int_t error
 error flag
ngx_int_t done
 set to 1 when data are ready
ngx_pool_t * pool
ngx_pool_t * rpool
ngx_log_t * log
ngx_http_mxcache_conn_handler_pt done_handler
 handler called when data are ready
void * data
 your data

Detailed Description

MXCache structure.

Definition at line 36 of file ngx_http_mxcache_module.h.


Field Documentation

after all this will point to first byte of the requested data

Definition at line 69 of file ngx_http_mxcache_module.h.

Referenced by ngx_http_mxcache_read_get_handler(), ngx_http_xslt2_xml_mxcache_get_handler(), and ngx_http_xxslt_parse_mxcache_get_handler().

set to 1 when data are ready

Definition at line 85 of file ngx_http_mxcache_module.h.

Referenced by ngx_http_mxcache_cleanup(), ngx_http_mxcache_finalize_connection(), and ngx_http_mxcache_init_conn().

optional error message

Definition at line 51 of file ngx_http_mxcache_module.h.

memcached flag

Definition at line 42 of file ngx_http_mxcache_module.h.

Referenced by ngx_http_mxcache_create_set_request(), and ngx_http_mxcache_read_get_handler().

memcached header length

Definition at line 76 of file ngx_http_mxcache_module.h.

Referenced by ngx_http_mxcache_read_get_handler().

ngx_http_request_t* ngx_http_mxcache_conn_s::r

request state

Definition at line 78 of file ngx_http_mxcache_module.h.

Referenced by ngx_http_mxcache_init_conn(), and ngx_http_mxcache_read_get_handler().


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

Generated on Mon Oct 12 14:03:37 2009 for XXSLT by  doxygen 1.6.1