Lines Matching defs:conn
433 ws = data->conn->proto.ws;
754 DEBUGASSERT(data->conn);
755 ws = data->conn->proto.ws;
760 data->conn->proto.ws = ws;
912 struct connectdata *conn = data->conn;
918 if(!conn) {
925 Curl_getconnectinfo(data, &conn);
926 if(!conn) {
931 ws = conn->proto.ws;
1011 result = Curl_write(data, data->conn->writesockfd, out, outlen, &n);
1049 if(!data->conn && data->set.connect_only) {
1054 if(!data->conn) {
1058 if(!data->conn->proto.ws) {
1062 ws = data->conn->proto.ws;
1076 result = Curl_write(data, data->conn->writesockfd, buffer, buflen,
1133 static void ws_free(struct connectdata *conn)
1135 if(conn && conn->proto.ws) {
1136 Curl_bufq_free(&conn->proto.ws->recvbuf);
1137 Curl_bufq_free(&conn->proto.ws->sendbuf);
1138 Curl_safefree(conn->proto.ws);
1143 struct connectdata *conn)
1147 return Curl_http_setup_conn(data, conn);
1157 struct connectdata *conn,
1162 ws_free(conn);
1170 if(GOOD_EASY_HANDLE(data) && Curl_is_in_callback(data) && data->conn &&
1171 data->conn->proto.ws && !data->set.ws_raw_mode)
1172 return &data->conn->proto.ws->frame;