Lines Matching full:sockindex
85 static CURLcode verify_certificate(struct connectdata *conn, int sockindex);
105 schannel_connect_step1(struct connectdata *conn, int sockindex)
109 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
355 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer,
378 schannel_connect_step2(struct connectdata *conn, int sockindex)
383 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
447 result = Curl_read_plain(conn->sock[sockindex],
537 result = Curl_write_plain(conn, conn->sock[sockindex],
612 return verify_certificate(conn, sockindex);
619 schannel_connect_step3(struct connectdata *conn, int sockindex)
623 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
753 schannel_connect_common(struct connectdata *conn, int sockindex,
758 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
759 curl_socket_t sockfd = conn->sock[sockindex];
779 result = schannel_connect_step1(conn, sockindex);
833 result = schannel_connect_step2(conn, sockindex);
843 result = schannel_connect_step3(conn, sockindex);
850 conn->recv[sockindex] = schannel_recv;
851 conn->send[sockindex] = schannel_send;
864 schannel_send(struct connectdata *conn, int sockindex,
870 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
962 what = Curl_socket_ready(CURL_SOCKET_BAD, conn->sock[sockindex],
980 result = Curl_write_plain(conn, conn->sock[sockindex], data + written,
1011 schannel_recv(struct connectdata *conn, int sockindex,
1017 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
1091 *err = Curl_read_plain(conn->sock[sockindex],
1223 *err = schannel_connect_common(conn, sockindex, FALSE, &done);
1321 Curl_schannel_connect_nonblocking(struct connectdata *conn, int sockindex,
1324 return schannel_connect_common(conn, sockindex, TRUE, done);
1328 Curl_schannel_connect(struct connectdata *conn, int sockindex)
1333 result = schannel_connect_common(conn, sockindex, FALSE, &done);
1342 bool Curl_schannel_data_pending(const struct connectdata *conn, int sockindex)
1344 const struct ssl_connect_data *connssl = &conn->ssl[sockindex];
1353 void Curl_schannel_close(struct connectdata *conn, int sockindex)
1355 if(conn->ssl[sockindex].use)
1357 Curl_ssl_shutdown(conn, sockindex);
1360 int Curl_schannel_shutdown(struct connectdata *conn, int sockindex)
1366 struct ssl_connect_data *connssl = &conn->ssl[sockindex];
1418 result = Curl_write_plain(conn, conn->sock[sockindex], outbuf.pvBuffer,
1508 static CURLcode verify_certificate(struct connectdata *conn, int sockindex)
1512 struct ssl_connect_data *connssl = &conn->ssl[sockindex];