Lines Matching refs:con

195     connection *con;  member
1988 mod_mbedtls_ssl_write_err(connection *con, handler_ctx *hctx, int wr, size_t wr_len) in mod_mbedtls_ssl_write_err() argument
1992 con->is_readable = -1; in mod_mbedtls_ssl_write_err()
1995 con->is_writable = -1; in mod_mbedtls_ssl_write_err()
2024 connection_write_cq_ssl (connection * const con, chunkqueue * const cq, off_t max_bytes) in connection_write_cq_ssl() argument
2026 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_write_cq_ssl()
2039 return mod_mbedtls_ssl_write_err(con, hctx, wr, data_len); in connection_write_cq_ssl()
2050 if (lim < 0) return mod_mbedtls_ssl_write_err(con, hctx, lim, 0); in connection_write_cq_ssl()
2092 return mod_mbedtls_ssl_write_err(con, hctx, wr, wr_len); in connection_write_cq_ssl()
2221 hctx->con->is_writable = -1; in mod_mbedtls_ssl_handshake()
2224 hctx->con->is_readable = 0; in mod_mbedtls_ssl_handshake()
2243 connection_read_cq_ssl (connection * const con, chunkqueue * const cq, off_t max_bytes) in connection_read_cq_ssl() argument
2245 handler_ctx * const hctx = con->plugin_ctx[plugin_data_singleton->id]; in connection_read_cq_ssl()
2273 request_st * const r = &con->request; in connection_read_cq_ssl()
2276 con->is_writable = -1; in connection_read_cq_ssl()
2279 con->is_readable = 0; in connection_read_cq_ssl()
2284 con->is_readable = 0; in connection_read_cq_ssl()
2300 con->is_readable = 0; in connection_read_cq_ssl()
2322 const server_socket *srv_sock = con->srv_socket; in CONNECTION_FUNC()
2327 request_st * const r = &con->request; in CONNECTION_FUNC()
2329 hctx->con = con; in CONNECTION_FUNC()
2330 hctx->tmp_buf = con->srv->tmp_buf; in CONNECTION_FUNC()
2332 con->plugin_ctx[p->id] = hctx; in CONNECTION_FUNC()
2339 con->network_read = connection_read_cq_ssl; in CONNECTION_FUNC()
2340 con->network_write = connection_write_cq_ssl; in CONNECTION_FUNC()
2341 con->proto_default_port = 443; /* "https" */ in CONNECTION_FUNC()
2353 mbedtls_ssl_set_bio(&hctx->ssl, (mbedtls_net_context *)&con->fd, in CONNECTION_FUNC()
2377 hctx->con->is_ssl_sock = 0; in mod_mbedtls_detach()
2379 if (-1 == hctx->close_notify) shutdown(hctx->con->fd, SHUT_WR); in mod_mbedtls_detach()
2387 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC()
2430 handler_ctx *hctx = con->plugin_ctx[p->id]; in CONNECTION_FUNC()
2432 con->plugin_ctx[p->id] = NULL; in CONNECTION_FUNC()
2666 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC()
2689 handler_ctx *hctx = r->con->plugin_ctx[p->id]; in REQUEST_FUNC()