Lines Matching refs:con

147     connection *con;  member
2275 mod_gnutls_write_err(connection *con, handler_ctx *hctx, int wr, size_t wr_len) in mod_gnutls_write_err() argument
2281 con->is_writable = -1; in mod_gnutls_write_err()
2283 con->is_readable = -1; in mod_gnutls_write_err()
2304 mod_gnutls_read_err(connection *con, handler_ctx *hctx, int rc) in mod_gnutls_read_err() argument
2310 con->is_writable = -1; in mod_gnutls_read_err()
2311 con->is_readable = 0; in mod_gnutls_read_err()
2316 con->is_readable = 0; in mod_gnutls_read_err()
2325 return con->network_read(con, cq, max_bytes); in mod_gnutls_read_err()
2371 connection_write_cq_ssl (connection * const con, chunkqueue * const cq, off_t max_bytes) in connection_write_cq_ssl() argument
2373 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl()
2380 return mod_gnutls_write_err(con, hctx, wr, hctx->pending_write); in connection_write_cq_ssl()
2435 return mod_gnutls_write_err(con, hctx, wr, wr_len); in connection_write_cq_ssl()
2450 connection_write_cq_ssl_ktls (connection * const con, chunkqueue * const cq, off_t max_bytes) in connection_write_cq_ssl_ktls() argument
2459 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl_ktls()
2465 return mod_gnutls_write_err(con, hctx, wr, hctx->pending_write); in connection_write_cq_ssl_ktls()
2490 return mod_gnutls_write_err(con, hctx, (int)wr, 0); in connection_write_cq_ssl_ktls()
2500 return connection_write_cq_ssl(con, cq, max_bytes); in connection_write_cq_ssl_ktls()
2510 return mod_gnutls_read_err(hctx->con, hctx, rc); in mod_gnutls_ssl_handshake()
2519 hctx->con->network_write = connection_write_cq_ssl_ktls; in mod_gnutls_ssl_handshake()
2528 hctx->con->network_write = connection_write_cq_ssl; in mod_gnutls_ssl_handshake()
2543 connection_read_cq_ssl (connection * const con, chunkqueue * const cq, off_t max_bytes) in connection_read_cq_ssl() argument
2545 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl()
2572 return mod_gnutls_read_err(con, hctx, (int)len); in connection_read_cq_ssl()
2574 con->is_readable = 0; in connection_read_cq_ssl()
2595 const server_socket *srv_sock = con->srv_socket; in CONNECTION_FUNC()
2600 request_st * const r = &con->request; in CONNECTION_FUNC()
2602 hctx->con = con; in CONNECTION_FUNC()
2603 hctx->tmp_buf = con->srv->tmp_buf; in CONNECTION_FUNC()
2605 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC()
2630 gnutls_transport_set_int(hctx->ssl, con->fd); in CONNECTION_FUNC()
2632 con->network_read = connection_read_cq_ssl; in CONNECTION_FUNC()
2633 con->network_write = connection_write_cq_ssl; in CONNECTION_FUNC()
2634 con->proto_default_port = 443; /* "https" */ in CONNECTION_FUNC()
2671 hctx->con->is_ssl_sock = 0; in mod_gnutls_detach()
2673 if (-1 == hctx->close_notify) shutdown(hctx->con->fd, SHUT_WR); in mod_gnutls_detach()
2681 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC()
2723 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC()
2725 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC()
2943 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC()
2966 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC()