| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | joblist.c | 8 int joblist_append(server *srv, connection *con) { in joblist_append() 24 void joblist_free(server *srv, connections *joblist) { in joblist_free() 31 connection *fdwaitqueue_unshift(server *srv, connections *fdwaitqueue) { in fdwaitqueue_unshift() 45 int fdwaitqueue_append(server *srv, connection *con) { in fdwaitqueue_append() 59 void fdwaitqueue_free(server *srv, connections *fdwaitqueue) { in fdwaitqueue_free()
|
| H A D | connections.c | 43 static connection *connections_get_new_connection(server *srv) { in connections_get_new_connection() 76 static int connection_del(server *srv, connection *con) { in connection_del() 116 int connection_close(server *srv, connection *con) { 202 static int connection_handle_read_ssl(server *srv, connection *con) { 336 static int connection_handle_read(server *srv, connection *con) { 642 static int connection_handle_write(server *srv, connection *con) { 674 connection *connection_init(server *srv) { 740 void connections_free(server *srv) { 797 int connection_reset(server *srv, connection *con) { 1301 connection *connection_accept(server *srv, server_socket *srv_socket) { [all …]
|
| H A D | http_chunk.c | 23 static int http_chunk_append_len(server *srv, connection *con, size_t len) { in http_chunk_append_len() 54 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len) { in http_chunk_append_file() 74 int http_chunk_append_buffer(server *srv, connection *con, buffer *mem) { in http_chunk_append_buffer() 94 int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len) { in http_chunk_append_mem() 124 off_t http_chunkqueue_length(server *srv, connection *con) { in http_chunkqueue_length()
|
| H A D | status_counter.c | 19 data_integer *status_counter_get_counter(server *srv, const char *s, size_t len) { in status_counter_get_counter() 38 int status_counter_inc(server *srv, const char *s, size_t len) { in status_counter_inc() 46 int status_counter_dec(server *srv, const char *s, size_t len) { in status_counter_dec() 54 int status_counter_set(server *srv, const char *s, size_t len, int val) { in status_counter_set()
|
| H A D | log.c | 52 int open_logfile_or_pipe(server *srv, const char* logfile) { in open_logfile_or_pipe() 147 int log_error_open(server *srv) { in log_error_open() 210 int log_error_cycle(server *srv) { in log_error_cycle() 245 int log_error_close(server *srv) { in log_error_close() 267 int log_error_write(server *srv, const char *filename, unsigned int line, const char *fmt, ...) { in log_error_write()
|
| H A D | configfile-glue.c | 27 int config_insert_values_internal(server *srv, array *ca, const config_values_t cv[]) { in config_insert_values_internal() 188 int config_insert_values_global(server *srv, array *ca, const config_values_t cv[]) { in config_insert_values_global() 223 static cond_result_t config_check_cond_nocache(server *srv, connection *con, data_config *dc) { in config_check_cond_nocache() 511 static cond_result_t config_check_cond_cached(server *srv, connection *con, data_config *dc) { in config_check_cond_cached() 551 void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item) { in config_cond_cache_reset_item() 567 void config_cond_cache_reset(server *srv, connection *con) { in config_cond_cache_reset() 577 int config_check_cond(server *srv, connection *con, data_config *dc) { in config_check_cond()
|
| H A D | http-header-glue.c | 75 int response_header_insert(server *srv, connection *con, const char *key, size_t keylen, const char… in response_header_insert() 91 int response_header_overwrite(server *srv, connection *con, const char *key, size_t keylen, const c… in response_header_overwrite() 106 int response_header_append(server *srv, connection *con, const char *key, size_t keylen, const char… in response_header_append() 121 int http_response_redirect_to_directory(server *srv, connection *con) { in http_response_redirect_to_directory() 219 buffer * strftime_cache_get(server *srv, time_t last_mod) { in strftime_cache_get() 247 int http_response_handle_cachable(server *srv, connection *con, buffer *mtime) { in http_response_handle_cachable()
|
| H A D | mod_magnet.c | 130 static int mod_magnet_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_magnet_patch_connection() 238 server *srv; in magnet_print() local 253 server *srv; in magnet_stat() local 347 server *srv; in magnet_atpanic() local 396 server *srv; in magnet_status_get() local 415 server *srv; in magnet_status_set() local 431 server *srv; in magnet_status_pairs() local 486 static buffer *magnet_env_get_buffer_by_id(server *srv, connection *con, int id) { in magnet_env_get_buffer_by_id() 537 server *srv; in magnet_env_get() local 565 server *srv; in magnet_env_set() local [all …]
|
| H A D | configfile.c | 23 static int config_insert(server *srv) { in config_insert() 314 int config_setup_connection(server *srv, connection *con) { in config_setup_connection() 378 int config_patch_connection(server *srv, connection *con, comp_key_t comp) { in config_patch_connection() 575 static int config_tokenizer(server *srv, tokenizer_t *t, int *token_id, buffer *token) { in config_tokenizer() 931 static int config_parse(server *srv, config_t *context, tokenizer_t *t) { in config_parse() 987 int config_parse_file(server *srv, config_t *context, const char *fn) { in config_parse_file() 1045 int config_parse_cmd(server *srv, config_t *context, const char *cmd) { in config_parse_cmd() 1081 static void context_init(server *srv, config_t *context) { in context_init() 1094 int config_read(server *srv, const char *fn) { in config_read() 1221 int config_set_defaults(server *srv) { in config_set_defaults()
|
| H A D | network.c | 53 network_server_handle_fdevent(server *srv, void *context, int revents) { in network_server_handle_fdevent() 89 static int network_ssl_servername_callback(SSL *ssl, int *al, server *srv) { in network_ssl_servername_callback() 136 network_server_init(server *srv, buffer *host_token, specific_config *s) { 557 network_close(server *srv) { 598 network_init(server *srv) { 978 network_register_fdevents(server *srv) { 996 network_write_chunkqueue(server *srv, connection *con, chunkqueue *cq, off_t max_bytes) {
|
| H A D | configfile.h | 9 server *srv; member 27 #define config_cond_cache_reset_all_items(srv, con) \ argument
|
| H A D | mod_fastcgi.c | 398 static void fcgi_proc_load_inc(server *srv, handler_ctx *hctx) { in fcgi_proc_load_inc() 410 static void fcgi_proc_load_dec(server *srv, handler_ctx *hctx) { in fcgi_proc_load_dec() 433 static void fcgi_host_reset(server *srv, handler_ctx *hctx) { in fcgi_host_reset() 445 static void fcgi_host_disable(server *srv, handler_ctx *hctx) { in fcgi_host_disable() 511 static void handler_ctx_free(server *srv, handler_ctx *hctx) { in handler_ctx_free() 847 static int fcgi_spawn_connection(server *srv, in fcgi_spawn_connection() 1468 static void fcgi_connection_close(server *srv, handler_ctx *hctx) { in fcgi_connection_close() 1504 static int fcgi_reconnect(server *srv, handler_ctx *hctx) { in fcgi_reconnect() 2488 static int fcgi_demux_response(server *srv, handler_ctx *hctx) { in fcgi_demux_response() 2840 static handler_t fcgi_write_request(server *srv, handler_ctx *hctx) { in fcgi_write_request() [all …]
|
| H A D | mod_proxy.c | 335 static void proxy_connection_close(server *srv, handler_ctx *hctx) { in proxy_connection_close() 360 static int proxy_establish_connection(server *srv, handler_ctx *hctx) { in proxy_establish_connection() 442 static int proxy_create_env(server *srv, handler_ctx *hctx) { in proxy_create_env() 546 static int proxy_set_state(server *srv, handler_ctx *hctx, proxy_connection_state_t state) { in proxy_set_state() 554 static int proxy_response_parse(server *srv, connection *con, plugin_data *p, buffer *in) { in proxy_response_parse() 646 static int proxy_demux_response(server *srv, handler_ctx *hctx) { in proxy_demux_response() 751 static handler_t proxy_write_request(server *srv, handler_ctx *hctx) { in proxy_write_request() 867 static int mod_proxy_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_proxy_patch_connection() 957 static handler_t proxy_handle_fdevent(server *srv, void *ctx, int revents) { in proxy_handle_fdevent() 1112 static handler_t mod_proxy_check_extension(server *srv, connection *con, void *p_d) { in mod_proxy_check_extension() [all …]
|
| H A D | server.c | 209 server *srv = calloc(1, sizeof(*srv)); in server_init() local 292 server_free(server *srv) { in server_free() 392 load_plugins(server *srv) in load_plugins() 403 set_max_conns(server *srv, int restrict_limit) in set_max_conns() 425 initialize_fd_framework(server *srv) in initialize_fd_framework() 488 set_listen_backlog(server *srv) in set_listen_backlog() 622 server *srv = (server *)svrptr; in start_server() local 1228 server *srv = NULL; in main() local
|
| H A D | plugin.c | 79 static int plugins_register(server *srv, plugin *p) { in plugins_register() 103 int plugins_load(server *srv) { in plugins_load() 119 int plugins_load(server *srv) { in plugins_load() 433 void plugins_free(server *srv) { in plugins_free()
|
| H A D | mod_webdav.c | 376 static int mod_webdav_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_webdav_patch_connection() 474 static int webdav_gen_prop_tag(server *srv, connection *con, in webdav_gen_prop_tag() 507 static int webdav_gen_response_status_tag(server *srv, connection *con, physical *dst, int status, … in webdav_gen_response_status_tag() 532 static int webdav_delete_file(server *srv, connection *con, plugin_data *p, physical *dst, buffer *… in webdav_delete_file() 577 static int webdav_delete_dir(server *srv, connection *con, plugin_data *p, physical *dst, buffer *b… in webdav_delete_dir() 662 static int webdav_copy_file(server *srv, connection *con, plugin_data *p, physical *src, physical *… in webdav_copy_file() 737 static int webdav_copy_dir(server *srv, connection *con, plugin_data *p, physical *src, physical *d… in webdav_copy_dir() 830 static int webdav_get_live_property(server *srv, connection *con, plugin_data *p, physical *dst, ch… in webdav_get_live_property() 990 static int webdav_parse_chunkqueue(server *srv, connection *con, plugin_data *p, chunkqueue *cq, xm… in webdav_parse_chunkqueue() 1096 static int webdav_lockdiscovery(server *srv, connection *con, in webdav_lockdiscovery() [all …]
|
| H A D | mod_scgi.c | 644 static int scgi_spawn_connection(server *srv, in scgi_spawn_connection() 1195 static void scgi_connection_cleanup(server *srv, handler_ctx *hctx) { in scgi_connection_cleanup() 1234 static int scgi_reconnect(server *srv, handler_ctx *hctx) { in scgi_reconnect() 1280 static handler_t scgi_connection_reset(server *srv, connection *con, void *p_d) { in scgi_connection_reset() 1317 static int scgi_establish_connection(server *srv, handler_ctx *hctx) { in scgi_establish_connection() 1452 static int scgi_create_env(server *srv, handler_ctx *hctx) { in scgi_create_env() 1791 static int scgi_demux_response(server *srv, handler_ctx *hctx) { in scgi_demux_response() 2162 static handler_t scgi_write_request(server *srv, handler_ctx *hctx) { in scgi_write_request() 2471 static handler_t scgi_connection_close(server *srv, handler_ctx *hctx) { in scgi_connection_close() 2489 static handler_t scgi_handle_fdevent(server *srv, void *ctx, int revents) { in scgi_handle_fdevent() [all …]
|
| H A D | mod_cgi.c | 185 static int cgi_pid_add(server *srv, plugin_data *p, pid_t pid) { in cgi_pid_add() 209 static int cgi_pid_del(server *srv, plugin_data *p, pid_t pid) { in cgi_pid_del() 231 static int cgi_response_parse(server *srv, connection *con, plugin_data *p, buffer *in) { in cgi_response_parse() 338 static int cgi_demux_response(server *srv, handler_ctx *hctx) { in cgi_demux_response() 516 static handler_t cgi_connection_close(server *srv, handler_ctx *hctx) { in cgi_connection_close() 616 static handler_t cgi_connection_close_callback(server *srv, connection *con, void *p_d) { in cgi_connection_close_callback() 623 static handler_t cgi_handle_fdevent(server *srv, void *ctx, int revents) { in cgi_handle_fdevent() 738 static int cgi_create_env(server *srv, connection *con, plugin_data *p, buffer *cgi_handler) { in cgi_create_env() 1208 static int mod_cgi_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_cgi_patch_connection()
|
| H A D | mod_status.c | 200 static handler_t mod_status_handle_server_status_html(server *srv, connection *con, void *p_d) { in mod_status_handle_server_status_html() 564 static handler_t mod_status_handle_server_status_text(server *srv, connection *con, void *p_d) { in mod_status_handle_server_status_text() 623 static handler_t mod_status_handle_server_statistics(server *srv, connection *con, void *p_d) { in mod_status_handle_server_statistics() 657 static handler_t mod_status_handle_server_status(server *srv, connection *con, void *p_d) { in mod_status_handle_server_status() 672 static handler_t mod_status_handle_server_config(server *srv, connection *con, void *p_d) { in mod_status_handle_server_config() 772 static int mod_status_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_status_patch_connection() 808 static handler_t mod_status_handler(server *srv, connection *con, void *p_d) { in mod_status_handler()
|
| H A D | inet_ntop_cache.c | 9 const char * inet_ntop_cache_get_ip(server *srv, sock_addr *addr) { in inet_ntop_cache_get_ip()
|
| H A D | response.c | 30 int http_response_write_header(server *srv, connection *con) { in http_response_write_header() 209 handler_t http_response_prepare(server *srv, connection *con) { in http_response_prepare()
|
| H A D | stat_cache.c | 241 handler_t stat_cache_handle_fdevent(server *srv, void *_fce, int revent) { in stat_cache_handle_fdevent() 336 static int stat_cache_lstat(server *srv, buffer *dname, struct stat *lst) { in stat_cache_lstat() 358 handler_t stat_cache_get_entry(server *srv, connection *con, buffer *name, stat_cache_entry **ret_s… in stat_cache_get_entry() 690 static int stat_cache_tag_old_entries(server *srv, splay_tree *t, int *keys, size_t *ndx) { in stat_cache_tag_old_entries() 707 int stat_cache_trigger_cleanup(server *srv) { in stat_cache_trigger_cleanup()
|
| H A D | mod_auth.c | 98 static int mod_auth_patch_connection(server *srv, connection *con, mod_auth_plugin_data *p) { in mod_auth_patch_connection() 180 static handler_t mod_auth_uri_handler(server *srv, connection *con, void *p_d) { in mod_auth_uri_handler() 559 handler_t auth_ldap_init(server *srv, mod_auth_plugin_config *s) { in auth_ldap_init()
|
| H A D | mod_compress.c | 242 static int deflate_file_to_buffer_gzip(server *srv, connection *con, plugin_data *p, char *start, o… in deflate_file_to_buffer_gzip() 318 static int deflate_file_to_buffer_deflate(server *srv, connection *con, plugin_data *p, unsigned ch… in deflate_file_to_buffer_deflate() 365 static int deflate_file_to_buffer_bzip2(server *srv, connection *con, plugin_data *p, unsigned char… in deflate_file_to_buffer_bzip2() 413 static int deflate_file_to_file(server *srv, connection *con, plugin_data *p, buffer *fn, stat_cach… in deflate_file_to_file() 583 static int deflate_file_to_buffer(server *srv, connection *con, plugin_data *p, buffer *fn, stat_ca… in deflate_file_to_buffer() 669 static int mod_compress_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_compress_patch_connection()
|
| H A D | mod_simple_vhost.c | 124 static int build_doc_root(server *srv, connection *con, plugin_data *p, buffer *out, buffer *host) { in build_doc_root() 175 static int mod_simple_vhost_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_simple_vhost_patch_connection() 220 static handler_t mod_simple_vhost_docroot(server *srv, connection *con, void *p_data) { in mod_simple_vhost_docroot()
|