Lines Matching refs:poll_list
546 static SSL_POLL_ITEM *poll_list = NULL; variable
631 SSL_free(poll_list[poll_idx].desc.value.ssl); in build_request_set()
639 OPENSSL_free(poll_list); in build_request_set()
641 poll_list = NULL; in build_request_set()
660 poll_list = OPENSSL_realloc(poll_list, in build_request_set()
662 if (poll_list == NULL) { in build_request_set()
720 poll_list[poll_idx].desc = SSL_as_poll_descriptor(new_stream); in build_request_set()
721 poll_list[poll_idx].revents = 0; in build_request_set()
722 poll_list[poll_idx].events = SSL_POLL_EVENT_R; in build_request_set()
725 while (!SSL_write_ex2(poll_list[poll_idx].desc.value.ssl, in build_request_set()
728 if (handle_io_failure(poll_list[poll_idx].desc.value.ssl, 0) == 1) in build_request_set()
741 SSL_free(poll_list[poll_idx].desc.value.ssl); in build_request_set()
743 OPENSSL_free(poll_list); in build_request_set()
745 poll_list = NULL; in build_request_set()
1013 if (!SSL_poll(poll_list, this_poll_count, sizeof(SSL_POLL_ITEM), in main()
1028 if (poll_list[poll_idx].revents == SSL_POLL_EVENT_R) { in main()
1035 poll_list[poll_idx].revents = 0; in main()
1044 if (!SSL_read_ex(poll_list[poll_idx].desc.value.ssl, buf, in main()
1046 switch (handle_io_failure(poll_list[poll_idx].desc.value.ssl, in main()
1071 poll_list[poll_idx].events = 0; in main()
1117 SSL_free(poll_list[poll_idx].desc.value.ssl); in main()
1122 OPENSSL_free(poll_list); in main()