Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals

http.c File Reference

Go to the source code of this file.

Functions

int cgi_set_request (request_t *rq)
session_opt_thttp_get_session_opt (http_t *http)
u_config_t * http_get_config (http_t *http)
const char * http_get_status_desc (int status)
int http_alias_resolv (http_t *h, char *dst, const char *filename, size_t sz)
int http_backend_serve (struct backend_s *be, int fd)
int http_backend_term (struct backend_s *be)
int http_backend_init (struct backend_s *be)

Variables

http_status_map_s http_status_map []
backend_t be_http


Function Documentation

int cgi_set_request request_t rq  ) 
 

Definition at line 17 of file cgi.c.

int http_alias_resolv http_t h,
char *  dst,
const char *  filename,
size_t  sz
 

Definition at line 91 of file http.c.

References http_s::config, http_s::dir_root, and http_t.

int http_backend_init struct backend_s be  ) 
 

Definition at line 547 of file http.c.

References backend_s::arg, broker_free(), broker_t, http_s::config, backend_s::config, http_t, http_s::sess_opt, and session_module_init().

int http_backend_serve struct backend_s be,
int  fd
 

Definition at line 510 of file http.c.

References backend_s::arg, and http_t.

int http_backend_term struct backend_s be  ) 
 

Definition at line 529 of file http.c.

References backend_s::arg, http_t, http_s::sess_opt, and session_module_term().

u_config_t* http_get_config http_t http  ) 
 

Definition at line 69 of file http.c.

References http_s::config, and http_t.

session_opt_t* http_get_session_opt http_t http  ) 
 

Definition at line 62 of file http.c.

References http_t, http_s::sess_opt, and session_opt_t.

const char* http_get_status_desc int  status  ) 
 

Definition at line 76 of file http.c.

Referenced by response_get_max_header_size().


Variable Documentation

backend_t be_http
 

Initial value:

    BACKEND_STATIC_INITIALIZER( "http", 
        http_backend_init, 
        http_backend_serve, 
        http_backend_term )

Definition at line 621 of file http.c.

struct http_status_map_s http_status_map[]
 


←Products
© 2005-2006 - KoanLogic S.r.l. - All rights reserved