Lines Matching +full:continue +full:- +full:on +full:- +full:error
2 * Copyright 2023-2024 The OpenSSL Project Authors. All Rights Reserved.
12 * doc/man7/ossl-guide-tls-client-non-block.pod
32 int sock = -1; in create_socket_bio()
50 * Create a TCP socket. We could equally use non-OpenSSL calls such in create_socket_bio()
53 * errors on the OpenSSL stack in the event of a failure we use in create_socket_bio()
57 if (sock == -1) in create_socket_bio()
58 continue; in create_socket_bio()
63 sock = -1; in create_socket_bio()
64 continue; in create_socket_bio()
69 sock = -1; in create_socket_bio()
70 continue; in create_socket_bio()
80 /* If sock is -1 then we've been unable to connect to the server */ in create_socket_bio()
81 if (sock == -1) in create_socket_bio()
125 * Let's say for example that you want to update the progress counter on in wait_for_activity()
128 * you check if it did so because of activity on the file descriptors or in wait_for_activity()
156 return -1; in handle_io_failure()
160 * If the failure is due to a verification error we can get more in handle_io_failure()
164 printf("Verify error: %s\n", in handle_io_failure()
166 return -1; in handle_io_failure()
169 return -1; in handle_io_failure()
175 * print the response on the screen.
194 printf("Usage: tls-client-non-block [-6] hostname port\n"); in main()
198 if (!strcmp(argv[argnext], "-6")) { in main()
200 printf("Usage: tls-client-non-block [-6] hostname port\n"); in main()
284 continue; /* Retry */ in main()
286 goto end; /* Cannot retry: error */ in main()
292 continue; /* Retry */ in main()
294 goto end; /* Cannot retry: error */ in main()
298 continue; /* Retry */ in main()
300 goto end; /* Cannot retry: error */ in main()
304 continue; /* Retry */ in main()
306 goto end; /* Cannot retry: error */ in main()
317 continue; /* Retry */ in main()
320 continue; in main()
321 case -1: in main()
324 goto end; /* Cannot retry: error */ in main()
330 * number of bytes that we read. The data could be non-printable or in main()
346 continue; /* Retry */ in main()
353 printf("Error shutting down\n"); in main()
354 goto end; /* Cannot retry: error */ in main()
362 * OpenSSL error stack to stderr. There might be some useful diagnostic in main()