Home
last modified time | relevance | path

Searched refs:conn (Results 1 – 9 of 9) sorted by relevance

/unit/test/
H A Dtest_tls_session.py59 conn = Connection(ctx, sock)
60 conn.set_connect_state()
63 conn.set_session(session)
65 conn.do_handshake()
66 conn.shutdown()
69 conn,
70 conn.get_session(),
72 _lib.SSL_session_reused(conn._ssl),
H A Dtest_tls_tickets.py55 conn = Connection(ctx, sock)
56 conn.set_connect_state()
59 conn.set_session(session)
61 conn.do_handshake()
62 conn.shutdown()
65 conn.get_session(),
67 _lib.SSL_session_reused(conn._ssl),
/unit/src/
H A Dnxt_h1proto.h51 nxt_conn_t *conn; member
H A Dnxt_h1proto.c460 h1p->conn = c; in nxt_h1p_conn_proto_init()
1278 conn = -1; in nxt_h1p_request_header_send()
1283 conn = 2; in nxt_h1p_request_header_send()
1313 if (conn >= 0) { in nxt_h1p_request_header_send()
1349 if (conn >= 0) { in nxt_h1p_request_header_send()
1376 c = h1p->conn; in nxt_h1p_request_header_send()
1413 c = h1p->conn; in nxt_h1p_complete_buffers()
1473 c = h1p->conn; in nxt_h1p_request_send()
1581 c = h1p->conn; in nxt_h1p_request_discard()
1708 c = h1p->conn; in nxt_h1p_request_close()
[all …]
H A Dnxt_http_variables.c516 nxt_int_t conn; in nxt_http_var_response_connection() local
530 conn = -1; in nxt_http_var_response_connection()
533 conn = 2; in nxt_http_var_response_connection()
539 conn = h1p->keepalive; in nxt_http_var_response_connection()
543 if (conn >= 0) { in nxt_http_var_response_connection()
544 *str = connection[conn]; in nxt_http_var_response_connection()
H A Dnxt_controller.c27 nxt_conn_t *conn; member
730 r->conn = c; in nxt_controller_conn_init()
1050 nxt_log_error(NXT_LOG_ERR, &r->conn->log, in nxt_controller_request_content_length()
1091 c = req->conn; in nxt_controller_process_request()
1285 c = req->conn; in nxt_controller_process_config()
1637 req->conn->mem_pool); in nxt_controller_status_handler()
1720 c = req->conn; in nxt_controller_process_cert()
1891 c = req->conn; in nxt_controller_process_cert_save()
1981 c = req->conn; in nxt_controller_process_script()
2157 c = req->conn; in nxt_controller_process_script_save()
[all …]
H A Dnxt_h1proto_websocket.c84 c = h1p->conn; in nxt_h1p_websocket_first_frame_start()
133 c = h1p->conn; in nxt_h1p_websocket_frame_start()
H A Dnxt_openssl.c23 nxt_conn_t *conn; member
1189 tls->conn = c;
1405 c = tls->conn;
/unit/src/nodejs/unit-http/
H A Dunit.cpp358 napi_value frame, server_obj, process_frame, conn; in websocket_handler() local
370 conn = get_reference_value(req_data->conn_ref); in websocket_handler()
372 process_frame = get_named_property(conn, "processFrame"); in websocket_handler()
377 make_callback(async_context, conn, process_frame, frame); in websocket_handler()
401 napi_value conn_handle_close, conn; in close_handler() local
409 conn = get_reference_value(req_data->conn_ref); in close_handler()
411 conn_handle_close = get_named_property(conn, "handleSocketClose"); in close_handler()
416 make_callback(async_context, conn, conn_handle_close, in close_handler()