Lines Matching +full:closed +full:- +full:loop

2  *  Copyright 2024-2025 The OpenSSL Project Authors. All Rights Reserved.
12 * doc/man7/ossl-guide-quic-server-non-block.pod
66 * ALPN strings for TLS handshake. Only 'http/1.0' and 'hq-interop'
71 10, 'h', 'q', '-', 'i', 'n', 't', 'e', 'r', 'o', 'p',
95 * subsequent per-client connections. We specifically load a QUIC in create_ctx()
104 * not only the leaf (end-entity) server certificate, but also any in create_ctx()
105 * intermediate issuer-CA certificates. The leaf certificate must be the in create_ctx()
108 * In advanced use-cases this can be called multiple times, once per public in create_ctx()
124 * key matches the just loaded end-entity certificate. It does not check in create_ctx()
134 * Clients rarely employ certificate-based authentication, and so we don't in create_ctx()
140 * need to configure a trusted-certificate store, so no call to in create_ctx()
165 return -1; in create_socket()
175 return -1; in create_socket()
182 return -1; in create_socket()
214 if ((sock = SSL_get_fd(ssl)) == -1) { in wait_for_activity()
272 * - 1: Temporary failure, the operation should be retried.
273 * - 0: EOF, indicating the connection has been closed.
274 * - -1: A fatal error occurred or the connection has been reset.
297 return -1; in handle_io_failure()
302 * stream reset - or some failure occurred on the underlying in handle_io_failure()
315 printf("Connection closed\n"); in handle_io_failure()
316 /* Connection is already closed. */ in handle_io_failure()
330 return -1; in handle_io_failure()
333 return -1; in handle_io_failure()
338 * Main loop for server to accept QUIC connections.
343 int ok = -1; in run_quic_server()
358 * Set the listener mode to non-blocking, which is inherited by in run_quic_server()
374 * Begin an infinite loop of listening for connections. We will only in run_quic_server()
375 * exit this loop if we encounter an error. in run_quic_server()
393 ret = SSL_read_ex(conn, buf + total_read, sizeof(buf) - total_read, in run_quic_server()
482 /* QUIC server connection acceptance loop. */ in main()
487 errx(res, "Error in QUIC server loop"); in main()