Home
last modified time | relevance | path

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

12

/lighttpd1.4/src/
H A Dh2.h93 void h2_send_goaway (connection *con, request_h2error_t e);
95 int h2_parse_frames (connection *con);
97 int h2_want_read (connection *con);
99 void h2_init_con (request_st * restrict h2r, connection * restrict con, const buffer * restrict htt…
101 int h2_send_1xx (request_st *r, connection *con);
103 void h2_send_100_continue (request_st *r, connection *con);
105 void h2_send_headers (request_st *r, connection *con);
107 uint32_t h2_send_cqdata (request_st *r, connection *con, struct chunkqueue *cq, uint32_t dlen);
109 void h2_send_end_stream (request_st *r, connection *con);
111 void h2_retire_stream (request_st *r, connection *con);
[all …]
H A Dbase.h19 struct connection { struct
26 connection *jqnext; argument
41 int (* network_write)(struct connection *con, chunkqueue *cq, off_t max_bytes); argument
42 int (* network_read)(struct connection *con, chunkqueue *cq, off_t max_bytes); argument
63 connection *next; argument
64 connection *prev; argument
69 extern connection *log_con_jqueue;
70 static inline void connection_jq_append(connection * const restrict con);
71 static inline void connection_jq_append(connection * const restrict con) in connection_jq_append()
161 connection *conns;
[all …]
H A Dconnections.c43 static connection *connection_init(server *srv);
45 static void connection_reset(connection *con);
48 connection *con; in connections_get_new_connection()
77 static void connection_close(connection *con) { in connection_close()
500 static connection *connection_init(server *srv) { in connection_init()
535 connection *con; in connections_pool_clear()
545 connection *con; in connections_free()
553 static void connection_reset(connection *con) { in connection_reset()
791 connection * restrict con = context; in connection_handle_fdevent()
905 connection *con; in connection_accepted()
[all …]
H A Dconnections.h19 int connection_send_1xx (request_st *r, connection *con);
21 connection * connection_accepted(server *srv, const struct server_socket *srv_socket, sock_addr *cn…
23 void connection_state_machine(connection *con);
H A Dh2.c282 h2_send_settings_ack (connection * const con) in h2_send_settings_ack()
346 h2_send_goaway_rst_stream (connection * const con) in h2_send_goaway_rst_stream()
414 h2_send_refused_stream (uint32_t h2id, connection * const con) in h2_send_refused_stream()
1707 h2_parse_frames (connection * const con) in h2_parse_frames()
1853 h2_want_read (connection * const con) in h2_want_read()
1892 h2_recv_client_connection_preface (connection * const con) in h2_recv_client_connection_preface()
2122 h2_send_headers (request_st * const r, connection * const con) in h2_send_headers()
2441 h2_send_1xx (request_st * const r, connection * const con) in h2_send_1xx()
2845 h2_retire_stream (request_st *r, connection * const con) in h2_retire_stream()
2865 h2_retire_con (request_st * const h2r, connection * const con) in h2_retire_con()
[all …]
H A Dbase_decls.h9 struct connection;
10 typedef struct connection connection; typedef
H A Dplugin.h13 static handler_t x(connection *con, void *p_d)
58 handler_t (* handle_connection_accept) (connection *con, void *p_d); /* after accept() socket */
59 handler_t (* handle_connection_shut_wr)(connection *con, void *p_d); /* done writing to socket */
60 …handler_t (* handle_connection_close) (connection *con, void *p_d); /* before close() of socket …
H A Dplugins.h22 handler_t plugins_call_handle_connection_accept(connection *con);
23 handler_t plugins_call_handle_connection_shut_wr(connection *con);
24 handler_t plugins_call_handle_connection_close(connection *con);
H A Dreqpool.h14 void request_init_data (request_st *r, connection *con, server *srv);
20 request_st * request_acquire (connection *con);
H A Dreqpool.c46 request_init_data (request_st * const r, connection * const con, server * const srv) in request_init_data()
179 connection * const con = r->con; in request_reset_ex()
285 r->con = (connection *)reqpool; /*(reuse r->con as next ptr)*/ in request_release()
291 request_acquire (connection * const con) in request_acquire()
H A Dresponse.h38 typedef int (*http_response_send_1xx_cb)(request_st *r, connection *con);
62 void http_response_delay(connection *con);
H A Dserver.c111 static int (*oneshot_read_cq)(connection *con, chunkqueue *cq, off_t max_bytes);
385 log_con_jqueue = (connection *)(uintptr_t)&log_con_jqueue;/*(sentinel)*/ in server_init()
474 static int server_oneshot_read_cq(connection *con, chunkqueue *cq, off_t max_bytes) { in server_oneshot_read_cq()
495 connection *con = context; in server_oneshot_handle_fdevent()
543 connection *con; in server_oneshot_init_pipe()
616 connection *con; in server_oneshot_init()
1935 static void server_run_con_queue (connection * const restrict joblist, const connection * const sen… in __attribute_nonnull__()
1936 for (connection *con = joblist, *jqnext; con != sentinel; con = jqnext) { in __attribute_nonnull__()
1988 static connection * const sentinel = in server_main_loop()
1989 (connection *)(uintptr_t)&log_con_jqueue; in server_main_loop()
[all …]
H A Dmod_status.c240 for (const connection *con = srv->conns; con; con = con->next) { in mod_status_html_rtable()
485 for (const connection *c = srv->conns; c; c = c->next) { in mod_status_handle_server_status_html()
568 for (const connection *c = srv->conns; c; c = c->next) in mod_status_handle_server_status_text()
816 for (const connection *c = srv->conns; c; c = c->next) in TRIGGER_FUNC()
835 const connection * const con = r->con; in REQUESTDONE_FUNC()
H A Dmod_extforward.c120 int(*saved_network_read)(connection *, chunkqueue *, off_t);
522 static int is_connection_trusted(connection * const con, plugin_data *p) in is_connection_trusted()
528 static int is_connection_trusted_cached(connection * const con, plugin_data *p) in is_connection_trusted_cached()
1134 connection * const con = r->con; in REQUEST_FUNC()
1161 static int mod_extforward_network_read (connection *con, chunkqueue *cq, off_t max_bytes);
1403 static int mod_extforward_hap_PROXY_v1 (connection * const con, in mod_extforward_hap_PROXY_v1()
1474 static int mod_extforward_hap_PROXY_v2 (connection * const con, in mod_extforward_hap_PROXY_v2()
1664 static int mod_extforward_network_read (connection *con, in mod_extforward_network_read()
H A Dplugin.c269 handler_t(*fn)(connection *, void *);
297 static handler_t plugins_call_fn_con_data(connection * const con, const int e) { in plugins_call_fn_con_data()
358 handler_t plugins_call_##y(connection *con) {\ in PLUGIN_CALL_FN_REQ_DATA()
H A Dgw_backend.h330 connection *con; /* dumb pointer */
/lighttpd1.4/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.txt67 to handle and also affects memory usage for the connection cache
171 connection. (In other words, there is a marginal cost for using very high
193 connection.kbytes-per-second
203 how many keep-alive requests, before lighttpd closes the connection. A value
210 up a new TCP connection takes more resources than keeping an open idle fd,
211 especially if the connection is over TLS.
247 Keep in mind that every TCP connection uses the configured amount of memory for socket
265 you have to provide the memory in the kernel for each connection. 1024 * 64KB
H A Dstatus.txt76 don't start new servers for each connection.
92 add JavaScript which allows client-side sorting for the connection overview
H A Dfastcgi.txt257 Whenever a new connection is requested, the first entry (the one
261 If a FastCGI request is done or the connection is dropped, the load on the
582 the fastcgi process accepted the connection but closed it
584 include the host where you are connection from.
589 (fcgi.c.1107) error: unexpected close of fastcgi connection
591 (fcgi.c.1015) emergency exit: fastcgi: connection-fd: 5
595 connection to. Check your configuration.
H A Dconfiguration.txt418 terminates the connection
423 maximum number of seconds until a idling keep-alive connection is dropped
429 and closes the connection
435 the connection
/lighttpd1.4/src/t/
H A Dtest_mod_userdir.c170 connection con; in test_mod_userdir()
174 memset(&con, 0, sizeof(connection)); in test_mod_userdir()

12