Home
last modified time | relevance | path

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

1234567

/mirbsd/src/usr.sbin/httpd/src/modules/keynote/
Dmod_keynote.c95 r->connection->server, in add_action_attribute()
100 r->connection->server, in add_action_attribute()
106 r->connection->server, in add_action_attribute()
112 r->connection->server, "Unspecified error %d (shouldn't happen)" in add_action_attribute()
159 add_action_attribute(sessid, "local_address", r->connection->local_ip, r); in add_action_attributes()
160 add_action_attribute(sessid, "remote_address", r->connection->remote_ip, r); in add_action_attributes()
162 if (r->connection->local_host != NULL) in add_action_attributes()
164 r->connection->local_host, r); in add_action_attributes()
166 if (r->connection->remote_host != NULL) in add_action_attributes()
168 r->connection->remote_host, r); in add_action_attributes()
[all …]
/mirbsd/src/usr.sbin/httpd/src/main/
Dhttp_protocol.c88 ap_bgetopt (r->connection->client, BO_BYTECT, &r->bytes_sent); \
442 if ((r->connection->keepalive != -1) && in ap_set_keepalive()
455 (r->server->keep_alive_max > r->connection->keepalives)) && in ap_set_keepalive()
464 int left = r->server->keep_alive_max - r->connection->keepalives; in ap_set_keepalive()
466 r->connection->keepalive = 1; in ap_set_keepalive()
467 r->connection->keepalives++; in ap_set_keepalive()
496 r->connection->keepalive = 0; in ap_set_keepalive()
949 conn_rec *conn = r->connection; in read_request_line()
1057 conn_rec *c = r->connection; in get_mime_headers()
1124 r->connection = conn; in ap_read_request()
[all …]
Dhttp_request.c676 rnew->connection = r->connection; in ap_sub_req_method_uri()
771 rnew->connection = r->connection; in ap_sub_req_lookup_file()
960 && r->connection && (r->connection->keepalive != -1)) { in ap_die()
985 r->connection->keepalive = -1; in ap_die()
1204 ap_time_process_request(r->connection->child_num, START_PREQUEST); in ap_process_request()
1208 old_stat = ap_update_child_status(r->connection->child_num, in ap_process_request()
1218 ap_bhalfduplex(r->connection->client); in ap_process_request()
1221 (void) ap_update_child_status(r->connection->child_num, old_stat, r); in ap_process_request()
1223 ap_time_process_request(r->connection->child_num, STOP_PREQUEST); in ap_process_request()
1256 new->connection = r->connection; in internal_internal_redirect()
Dhttp_vhost.c1049 switch (r->connection->local_addr.ss_family) { in check_hostalias()
1052 &r->connection->local_addr)->sin_port); in check_hostalias()
1057 &r->connection->local_addr)->sin6_port); in check_hostalias()
1074 for (src = r->connection->vhost_lookup_data; src; src = src->next) { in check_hostalias()
1108 r->server = r->connection->server = s; in check_hostalias()
1119 switch (r->connection->local_addr.ss_family) { in check_serverpath()
1122 &r->connection->local_addr)->sin_port); in check_serverpath()
1127 &r->connection->local_addr)->sin6_port); in check_serverpath()
1143 for (src = r->connection->vhost_lookup_data; src; src = src->next) { in check_serverpath()
1161 r->server = r->connection->server = s; in check_serverpath()
[all …]
/mirbsd/src/lib/libssl/src/doc/crypto/
DBIO_s_accept.pod42 on the underlying connection. If no connection is established
44 waits for an incoming connection.
49 connection on that chain is shutdown and the socket closed when
53 connection and reset the BIO into a state where it awaits another
54 incoming connection.
77 connection is received. This is useful if, for example, a
78 buffering or SSL BIO is required for each connection. The
95 connection, or request a retry in non blocking mode.
100 incoming connection before processing I/O calls. When an accept
104 When a connection is established a new socket BIO is created for
[all …]
DBIO_s_connect.pod34 round the platform's TCP/IP socket connection routines.
41 on the underlying connection. If no connection is established
43 a connection is established first.
48 connection is shutdown and the socket closed when the BIO
52 connection and reset the BIO into a state where it can connect
89 should be made before the connection is established because
96 if the connection was established successfully. A zero or negative
97 value is returned if the connection could not be established, the
105 will normally mean that the connection was closed.
109 if the application does not wish to allow connection to arbitrary
[all …]
DBIO_f_ssl.pod42 the SSLs read and write BIOs. If an SSL connection is not established
48 Calling BIO_reset() on an SSL BIO closes down any current SSL connection
92 BIO_ssl_shutdown() closes down an SSL connection on BIO
98 supplied BIO and establish the SSL connection. It returns 1
99 if the connection was established successfully. A zero or negative
100 value is returned if the connection could not be established, the
102 to determine if the call should be retried. If an SSL connection has
182 fprintf(stderr, "Error establishing SSL connection\n");
187 /* Could examine ssl here to get connection info */
252 /* By doing this when a new connection is established
[all …]
/mirbsd/src/lib/libssl/src/doc/ssl/
DSSL_get_version.pod5 SSL_get_version - get the protocol version of a connection.
16 connection B<ssl>.
26 The connection uses the SSLv2 protocol.
30 The connection uses the SSLv3 protocol.
34 The connection uses the TLSv1 protocol.
38 This indicates that no version has been set (no connection established).
DSSL_clear.pod5 SSL_clear - reset SSL object to allow another connection
15 Reset B<ssl> to allow another connection. All settings (method, ciphers,
20 SSL_clear is used to prepare an SSL object for a new connection. While all
24 if L<SSL_shutdown(3)|SSL_shutdown(3)> was not called for the connection
34 will might lead to connection failures (see L<SSL_new(3)|SSL_new(3)>)
39 SSL_clear() resets the SSL object to allow for another connection. The
DSSL_set_shutdown.pod5 SSL_set_shutdown, SSL_get_shutdown - manipulate shutdown state of an SSL connection
23 The shutdown state of an ssl connection is a bitmask of:
33 A "close notify" shutdown alert was sent to the peer, the connection is being
45 The shutdown state of the connection is used to determine the state of
51 alert but to not wait for the peer's answer, when the underlying connection
DSSL_shutdown.pod5 SSL_shutdown - shut down a TLS/SSL connection
15 SSL_shutdown() shuts down an active TLS/SSL connection. It sends the
28 to only send its shutdown alert and then close the underlying connection
30 as the process can already terminate or serve another connection).
31 When the underlying connection shall be used for more communications, the
44 shutdown is enough (the underlying connection shall be closed anyway), this
83 SSL_shutdown() can be modified to only set the connection to "shutdown"
110 at the protocol level or a connection failure occurred. It can also occur if
DSSL_new.pod5 SSL_new - create a new SSL structure for a connection
16 data for a TLS/SSL connection. The new structure inherits the settings
17 of the underlying context B<ctx>: connection method (SSLv2/v3/TLSv1),
DSSL_write.pod5 SSL_write - write bytes to a TLS/SSL connection.
16 B<ssl> connection.
80 bytes actually written to the TLS/SSL connection.
84 The write operation was not successful. Probably the underlying connection
86 whether an error occurred or the connection was shut down cleanly
90 only be detected, whether the underlying connection was closed. It cannot
DSSL_CTX_new.pod20 The SSL_CTX object uses B<method> as connection method. The methods exist
28 A TLS/SSL connection established with these methods will only understand
35 A TLS/SSL connection established with these methods will only understand the
44 A TLS/SSL connection established with these methods will only understand the
54 A TLS/SSL connection established with these methods will understand the SSLv2,
/mirbsd/src/sbin/isakmpd/
Dconnection.c60 struct connection { struct
61 TAILQ_ENTRY(connection) link;
80 TAILQ_HEAD(connection_head, connection) connections; argument
150 struct connection *conn = vconn; in connection_checker()
163 static struct connection *
166 struct connection *conn; in connection_lookup()
267 struct connection *conn = 0; in connection_setup()
371 struct connection *conn; in connection_teardown()
403 struct connection *conn; in connection_report()
428 struct connection *conn, *next; in connection_reinit()
/mirbsd/src/gnu/usr.sbin/sendmail/contrib/
DsocketmapClient.pl11 my $connection = shift @ARGV;
16 if ($connection =~ /tcp:(.+):([0-9]*)/) {
22 } elsif ($connection =~ /((unix)|(local)):(.+)/) {
28 die "unrecognized connection specification $connection";
DsocketmapServer.pl10 my $connection = shift @ARGV;
13 if ($connection =~ /tcp:(.+):([0-9]*)/) {
21 } elsif ($connection =~ /((unix)|(local)):(.+)/) {
29 die "unrecognized connection specification $connection";
/mirbsd/src/usr.sbin/httpd/src/modules/proxy/
Dproxy_connect.c277 ap_bflush(r->connection->client); in ap_proxy_connect_handler()
284 FD_SET(ap_bfileno(r->connection->client, B_WR), &fds); in ap_proxy_connect_handler()
288 i = ap_select((ap_bfileno(r->connection->client, B_WR) > sock ? in ap_proxy_connect_handler()
289 ap_bfileno(r->connection->client, B_WR) + 1 : in ap_proxy_connect_handler()
301 if (send(ap_bfileno(r->connection->client, B_WR), buffer, in ap_proxy_connect_handler()
310 else if (FD_ISSET(ap_bfileno(r->connection->client, B_WR), &fds)) { in ap_proxy_connect_handler()
313 if ((nbytes = recv(ap_bfileno(r->connection->client, B_WR), in ap_proxy_connect_handler()
/mirbsd/src/usr.sbin/httpd/src/modules/ssl/
Dssl_engine_kernel.c554 ssl = ap_ctx_get(r->connection->client->ctx, "ssl"); in ssl_hook_ReadReq()
581 if (ap_ctx_get(r->connection->client->ctx, "ssl") == NULL) in ssl_hook_Translate()
590 r->connection->keepalives <= 0 ? in ssl_hook_Translate()
593 r->connection->keepalives+1), in ssl_hook_Translate()
594 r->connection->child_num, in ssl_hook_Translate()
602 ap_ctx_set(r->connection->client->ctx, "ssl::flag::unclean-shutdown", PTRUE); in ssl_hook_Translate()
604 ap_ctx_set(r->connection->client->ctx, "ssl::flag::unclean-shutdown", PFALSE); in ssl_hook_Translate()
606 ap_ctx_set(r->connection->client->ctx, "ssl::flag::accurate-shutdown", PTRUE); in ssl_hook_Translate()
608 ap_ctx_set(r->connection->client->ctx, "ssl::flag::accurate-shutdown", PFALSE); in ssl_hook_Translate()
684 ssl = ap_ctx_get(r->connection->client->ctx, "ssl"); in ssl_hook_Access()
[all …]
Dssl_engine_ext.c139 if (ap_ctx_get(r->connection->client->ctx, "ssl") == NULL) in ssl_ext_mlc_log_c()
143 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_PROTOCOL"); in ssl_ext_mlc_log_c()
145 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CIPHER"); in ssl_ext_mlc_log_c()
147 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CLIENT_S_DN"); in ssl_ext_mlc_log_c()
149 result = ssl_var_lookup(r->pool, r->server, r->connection, r, "SSL_CLIENT_I_DN"); in ssl_ext_mlc_log_c()
153 result = ap_ctx_get(r->connection->client->ctx, "ssl::verify::error"); in ssl_ext_mlc_log_c()
168 if (ap_ctx_get(r->connection->client->ctx, "ssl") != NULL) in ssl_ext_mlc_log_x()
169 result = ssl_var_lookup(r->pool, r->server, r->connection, r, a); in ssl_ext_mlc_log_x()
204 val = ssl_var_lookup(r->pool, r->server, r->connection, r, var); in ssl_ext_mr_lookup_variable()
/mirbsd/src/usr.sbin/httpd/src/modules/standard/
Dmod_usertrack.c164 unsigned long ipaddr = ntohl(r->connection->remote_addr.sin_addr.s_addr); in make_cookie_id()
166 const char *rname = ap_get_remote_host(r->connection, r->per_dir_config, in make_cookie_id()
171 switch (r->connection->remote_addr.ss_family) { in make_cookie_id()
174 ((struct sockaddr_in *)&r->connection->remote_addr)-> in make_cookie_id()
179 &r->connection->remote_addr)->sin6_addr)) in make_cookie_id()
181 ((struct sockaddr_in6 *)&r->connection->remote_addr)-> in make_cookie_id()
185 &r->connection->remote_addr)->sin6_addr.s6_addr, 16); in make_cookie_id()
Dmod_access.c471 switch (r->connection->remote_addr.ss_family) { in find_allowdeny()
473 if ((((struct sockaddr_in *)&r->connection->remote_addr)->sin_addr.s_addr in find_allowdeny()
480 …if (!IN6_IS_ADDR_V4MAPPED(&((struct sockaddr_in6 *)&r->connection->remote_addr)->sin6_addr)) /*XXX… in find_allowdeny()
482 if ((*(u_int32_t *)&((struct sockaddr_in6 *)&r->connection->remote_addr)->sin6_addr.s6_addr[12] in find_allowdeny()
498 switch (r->connection->remote_addr.ss_family) { in find_allowdeny()
505 &((struct sockaddr_in *)&r->connection->remote_addr)->sin_addr.s_addr, in find_allowdeny()
515 &((struct sockaddr_in6 *)&r->connection->remote_addr)->sin6_addr, in find_allowdeny()
529 remotehost = ap_get_remote_host(r->connection, r->per_dir_config, in find_allowdeny()
Dmod_auth_anon.c220 conn_rec *c = r->connection; in anon_authenticate_basic_user()
278 conn_rec *c = r->connection; in check_anon_access()
286 if (strcasecmp(r->connection->user, sec->auth_anon)) in check_anon_access()
/mirbsd/src/gnu/usr.bin/lynx/WWW/Library/Implementation/
DHTWAIS.c633 long connection = 0; in HTLoadWAIS() local
636 FILE *connection = NULL; in HTLoadWAIS() local
708 connection = 0; in HTLoadWAIS()
710 connection = NULL; in HTLoadWAIS()
719 &connection); in HTLoadWAIS()
878 connection, in HTLoadWAIS()
997 connection, in HTLoadWAIS()
1058 if (connection) in HTLoadWAIS()
1059 NETCLOSE((int) connection); in HTLoadWAIS()
1061 if (connection) in HTLoadWAIS()
[all …]
/mirbsd/src/lib/libssl/src/doc/apps/
Ds_client.pod70 with a certificate chain can be seen. As a side effect the connection
101 to print out information even if the connection fails. Normally information
102 will only be printed out once if the connection succeeds. This option is useful
103 because the cipher in use may be renegotiated or the connection may fail
106 option is not always accurate because a connection might never have been
136 inhibit shutting down the connection when end of file is reached in the
194 If a connection is established with an SSL server then any data received
199 connection will be closed down.
208 would typically be used (https uses port 443). If the connection succeeds

1234567