Lines Matching defs:connection
55 ** trapping of connection errors which influenced measurements.
210 /* connection state
225 struct connection {
240 apr_time_t start, /* Start of connection */
253 apr_time_t starttime; /* start time of connection */
256 apr_interval_time_t time; /* time for connection */
327 int err_conn = 0; /* requests failed due to connection drop */
354 struct connection *con; /* connection array */
367 static void write_request(struct connection * c);
368 static void close_connection(struct connection * c);
438 static void set_polled_events(struct connection *c, apr_int16_t new_reqevents)
460 static void set_conn_state(struct connection *c, connect_state_e new_state)
478 /* write out request to a connection - assumes we can write
617 static void ssl_print_info(struct connection *c)
644 static void ssl_proceed_handshake(struct connection *c)
703 static void write_request(struct connection * c)
739 BIO_printf(bio_err, "SSL write failed - closing connection\n");
872 /* work out connection times */
1006 SANE("the initial connection time", meancon, mediancon, sdcon);
1167 /* work out connection times */
1220 /* start asnchronous non-blocking connection */
1222 static void start_connect(struct connection * c)
1339 /* close down connection and save stats */
1341 static void close_connection(struct connection * c)
1348 good--; /* connection never happened */
1391 /* read data from connection */
1393 static void read_connection(struct connection * c)
1409 /* connection closed cleanly: */
1416 /* connection closed, but in violation of the protocol, after
1434 BIO_printf(bio_err, "SSL read failed (%d) - closing connection\n", scode);
1522 /* header is in invalid or too big - close connection */
1617 /* finished a keep-alive connection */
1686 con = xcalloc(concurrency, sizeof(struct connection));
1812 /* initialise first connection to determine destination socket address
1829 struct connection *c;
1834 * If the connection isn't connected how can we check it?
1855 * APR_POLLHUP first so that a closed connection isn't treated
1857 * connection is done and we loop here endlessly calling