Home | History | Annotate | Download | only in vtls

Lines Matching full:sockindex

129 static CURLcode connect_prep(struct connectdata *conn, int sockindex)
131 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
264 sockindex)) {
267 ssl = ssl_client_new(ssl_ctx, conn->sock[sockindex],
274 ssl = ssl_client_new(ssl_ctx, conn->sock[sockindex], NULL, 0, NULL);
280 static void Curl_axtls_close(struct connectdata *conn, int sockindex)
282 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
300 static CURLcode connect_finish(struct connectdata *conn, int sockindex)
303 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
322 Curl_axtls_close(conn, sockindex);
362 Curl_axtls_close(conn, sockindex);
375 Curl_axtls_close(conn, sockindex);
386 Curl_axtls_close(conn, sockindex);
400 conn->recv[sockindex] = axtls_recv;
401 conn->send[sockindex] = axtls_send;
409 sockindex) != CURLE_OK)
422 int sockindex, bool *done)
424 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
433 conn_step = connect_prep(conn, sockindex);
435 Curl_axtls_close(conn, sockindex);
450 Curl_axtls_close(conn, sockindex);
462 conn_step = connect_finish(conn, sockindex);
464 Curl_axtls_close(conn, sockindex);
487 static CURLcode Curl_axtls_connect(struct connectdata *conn, int sockindex)
490 CURLcode conn_step = connect_prep(conn, sockindex);
492 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
497 Curl_axtls_close(conn, sockindex);
514 Curl_axtls_close(conn, sockindex);
523 conn_step = connect_finish(conn, sockindex);
525 Curl_axtls_close(conn, sockindex);
534 int sockindex,
539 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
558 static int Curl_axtls_shutdown(struct connectdata *conn, int sockindex)
564 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
582 int what = SOCKET_READABLE(conn->sock[sockindex], SSL_SHUTDOWN_TIMEOUT);