Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 85) sorted by relevance

1234

/mOS-networking-stack/samples/lighttpd-1.4.32/src/
H A Dplugin.h11 static handler_t x(server *srv, connection *con, void *p_d)
67 handler_t plugins_call_handle_uri_raw(server *srv, connection *con);
68 handler_t plugins_call_handle_uri_clean(server *srv, connection *con);
70 handler_t plugins_call_handle_subrequest(server *srv, connection *con);
71 handler_t plugins_call_handle_request_done(server *srv, connection *con);
72 handler_t plugins_call_handle_docroot(server *srv, connection *con);
73 handler_t plugins_call_handle_physical(server *srv, connection *con);
75 handler_t plugins_call_handle_joblist(server *srv, connection *con);
76 handler_t plugins_call_connection_reset(server *srv, connection *con);
87 int config_setup_connection(server *srv, connection *con);
[all …]
H A Dresponse.h8 int http_response_parse(server *srv, connection *con);
9 int http_response_write_header(server *srv, connection *con);
11 int response_header_insert(server *srv, connection *con, const char *key, size_t keylen, const char…
12 int response_header_overwrite(server *srv, connection *con, const char *key, size_t keylen, const c…
13 int response_header_append(server *srv, connection *con, const char *key, size_t keylen, const char…
15 handler_t http_response_prepare(server *srv, connection *con);
16 int http_response_redirect_to_directory(server *srv, connection *con);
17 int http_response_handle_cachable(server *srv, connection *con, buffer * mtime);
H A Dconnections.h7 connection *connection_init(server *srv);
8 int connection_reset(server *srv, connection *con);
11 connection * connection_accept(server *srv, server_socket *srv_sock);
12 int connection_close(server *srv, connection *con);
14 int connection_set_state(server *srv, connection *con, connection_state_t state);
17 int connection_state_machine(server *srv, connection *con);
H A Dnetwork_backends.h62 int network_write_chunkqueue_write(server *srv, connection *con, int fd, chunkqueue *cq, off_t max_…
63 int network_write_chunkqueue_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_t max…
64 int network_write_chunkqueue_linuxsendfile(server *srv, connection *con, int fd, chunkqueue *cq, of…
65 int network_write_chunkqueue_freebsdsendfile(server *srv, connection *con, int fd, chunkqueue *cq, …
66 int network_write_chunkqueue_solarissendfilev(server *srv, connection *con, int fd, chunkqueue *cq,…
67 int network_write_chunkqueue_mtcp_writev(server *srv, connection *con, int fd, chunkqueue *cq, off_…
69 int network_write_chunkqueue_openssl(server *srv, connection *con, SSL *ssl, chunkqueue *cq, off_t …
H A Dhttp_chunk.h7 int http_chunk_append_mem(server *srv, connection *con, const char * mem, size_t len);
8 int http_chunk_append_buffer(server *srv, connection *con, buffer *mem);
9 int http_chunk_append_file(server *srv, connection *con, buffer *fn, off_t offset, off_t len);
10 off_t http_chunkqueue_length(server *srv, connection *con);
H A Dhttp_chunk.c23 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 Djoblist.h6 int joblist_append(server *srv, connection *con);
9 int fdwaitqueue_append(server *srv, connection *con);
11 connection *fdwaitqueue_unshift(server *srv, connections *fdwaitqueue);
H A Djoblist.c8 int joblist_append(server *srv, connection *con) { in joblist_append()
31 connection *fdwaitqueue_unshift(server *srv, connections *fdwaitqueue) { in fdwaitqueue_unshift()
32 connection *con; in fdwaitqueue_unshift()
45 int fdwaitqueue_append(server *srv, connection *con) { in fdwaitqueue_append()
H A Dmod_magnet.c130 static int mod_magnet_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_magnet_patch_connection()
254 connection *con; in magnet_stat()
361 connection *con; in magnet_reqhdr_get()
384 connection *con; in magnet_reqhdr_pairs()
486 static buffer *magnet_env_get_buffer_by_id(server *srv, connection *con, int id) { in magnet_env_get_buffer_by_id()
538 connection *con; in magnet_env_get()
566 connection *con; in magnet_env_set()
595 connection *con; in magnet_env_next()
639 connection *con; in magnet_cgi_get()
658 connection *con; in magnet_cgi_set()
[all …]
H A Drequest.h6 int http_request_parse(server *srv, connection *con);
7 int http_request_header_finished(server *srv, connection *con);
H A Dmod_status.c200 static handler_t mod_status_handle_server_status_html(server *srv, connection *con, void *p_d) { in mod_status_handle_server_status_html()
451 connection *c = srv->conns->ptr[j]; in mod_status_handle_server_status_html()
482 connection *c = srv->conns->ptr[j]; 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()
607 connection *c = srv->conns->ptr[k]; 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()
[all …]
H A Dhttp-header-glue.c75 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()
247 int http_response_handle_cachable(server *srv, connection *con, buffer *mtime) { in http_response_handle_cachable()
H A Dconfigfile.h24 void config_cond_cache_reset(server *srv, connection *con);
25 void config_cond_cache_reset_item(server *srv, connection *con, comp_key_t item);
H A Dconfigfile-glue.c221 static cond_result_t config_check_cond_cached(server *srv, connection *con, data_config *dc);
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()
584 int config_append_cond_match_buffer(connection *con, data_config *dc, buffer *buf, int n) in config_append_cond_match_buffer()
H A Dhttp_auth.h69 int http_auth_basic_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, buffer…
70 int http_auth_digest_check(server *srv, connection *con, mod_auth_plugin_data *p, array *req, buffe…
H A Dconnections.c43 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()
79 connection *temp; in connection_del()
116 int connection_close(server *srv, connection *con) {
674 connection *connection_init(server *srv) {
675 connection *con;
745 connection *con = conns->ptr[i];
797 int connection_reset(server *srv, connection *con) {
1206 connection *con = context;
1346 connection *con;
[all …]
H A Dmod_proxy.c109 connection *remote_conn; /* dump pointer */
337 connection *con; in proxy_connection_close()
417 static void proxy_set_header(connection *con, const char *key, const char *value) { in proxy_set_header()
429 static void proxy_append_header(connection *con, const char *key, const char *value) { in proxy_append_header()
445 connection *con = hctx->remote_conn; in proxy_create_env()
554 static int proxy_response_parse(server *srv, connection *con, plugin_data *p, buffer *in) { in proxy_response_parse()
652 connection *con = hctx->remote_conn; in proxy_demux_response()
753 connection *con = hctx->remote_conn; in proxy_write_request()
867 static int mod_proxy_patch_connection(server *srv, connection *con, plugin_data *p) { in mod_proxy_patch_connection()
959 connection *con = hctx->remote_conn; in proxy_handle_fdevent()
[all …]
H A Dbase.h455 } connection; typedef
458 connection **ptr;
663 …int (* network_backend_write)(struct server *srv, connection *con, int fd, chunkqueue *cq, off_t m…
665 …int (* network_ssl_backend_write)(struct server *srv, connection *con, SSL *ssl, chunkqueue *cq, o…
H A Dmod_simple_vhost.c124 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()
/mOS-networking-stack/samples/midstat/
H A Dmidstat.c33 struct connection { struct
38 TAILQ_ENTRY(connection) link; /* link to next context in this core */ argument
43 TAILQ_HEAD(, connection) g_sockq[MAX_CORES]; /* connection queue */
57 static inline struct connection *
60 struct connection *c; in find_connection()
74 struct connection *c; in cb_creation()
76 c = calloc(sizeof(struct connection), 1); in cb_creation()
97 struct connection *c; in cb_destroy()
110 struct connection *c; in cb_st_chg()
159 struct connection *c; in cb_printstat()
/mOS-networking-stack/samples/lighttpd-1.4.32/doc/outdated/
H A Dstate.txt30 the way each connection. Some of them are specific for a special operation
34 waiting for a connection
52 reset connection (incl. close())
54 close connection (handle lingering close)
61 The connection is idling in the 'connect' state waiting for a connection.
62 As soon as the connection is set up we init the read-timer in 'reqstart'
70 request and cleanup the environment. After the close() call the connection
96 connection and can be call from every state. It is only use if there is no
97 other way to handle the issue (e.g. client-side close of the connection).
H A Dfastcgi-state.txt30 the way each connection.
33 prepare fastcgi-connection
35 waiting for a connection
43 terminate the connection
H A Dtraffic-shaping.txt25 a single connection or config context like a virtual host or a URL.
30 :connection.kbytes-per-second:
31 limit the throughput for each single connection to the given
H A Dplugins.txt53 fields in the connection structure are set.
71 called if the connection has to be closed
76 called if the connection structure has to be cleaned up
243 called if the connection is terminated
253 called if the state of the connection has changed
H A Dperformance.txt44 handling 128 keep-alive requests in a row on a single connection, waiting 30 seconds
45 before an unused keep-alive connection gets dropped by lighttpd.
165 connection was dropped and the client received an error message like 'connection
217 Keep in mind that every TCP connection uses the configured amount of memory for socket
235 you have to provide the memory in the kernel for each connection. 1024 * 64KB

1234