Lines Matching refs:nva
1003 nghttp2_nv *nva; in http2_send() local
1061 nva = malloc(sizeof(nghttp2_nv) * nheader); in http2_send()
1062 if(nva == NULL) { in http2_send()
1068 nva[0].name = (unsigned char *)":method"; in http2_send()
1069 nva[0].namelen = (uint16_t)strlen((char *)nva[0].name); in http2_send()
1070 nva[0].value = (unsigned char *)hdbuf; in http2_send()
1071 nva[0].valuelen = (uint16_t)(end - hdbuf); in http2_send()
1072 nva[0].flags = NGHTTP2_NV_FLAG_NONE; in http2_send()
1077 nva[1].name = (unsigned char *)":path"; in http2_send()
1078 nva[1].namelen = (uint16_t)strlen((char *)nva[1].name); in http2_send()
1079 nva[1].value = (unsigned char *)hdbuf; in http2_send()
1080 nva[1].valuelen = (uint16_t)(end - hdbuf); in http2_send()
1081 nva[1].flags = NGHTTP2_NV_FLAG_NONE; in http2_send()
1083 nva[2].name = (unsigned char *)":scheme"; in http2_send()
1084 nva[2].namelen = (uint16_t)strlen((char *)nva[2].name); in http2_send()
1086 nva[2].value = (unsigned char *)"https"; in http2_send()
1088 nva[2].value = (unsigned char *)"http"; in http2_send()
1089 nva[2].valuelen = (uint16_t)strlen((char *)nva[2].value); in http2_send()
1090 nva[2].flags = NGHTTP2_NV_FLAG_NONE; in http2_send()
1102 nva[i].name = (unsigned char *)":authority"; in http2_send()
1103 nva[i].namelen = (uint16_t)strlen((char *)nva[i].name); in http2_send()
1106 nva[i].name = (unsigned char *)hdbuf; in http2_send()
1107 nva[i].namelen = (uint16_t)(end - hdbuf); in http2_send()
1113 nva[i].value = (unsigned char *)hdbuf; in http2_send()
1114 nva[i].valuelen = (uint16_t)(end - hdbuf); in http2_send()
1115 nva[i].flags = NGHTTP2_NV_FLAG_NONE; in http2_send()
1121 if(nva[i].namelen == 14 && in http2_send()
1122 Curl_raw_nequal("content-length", (char*)nva[i].name, 14)) { in http2_send()
1125 for(j = 0; j < nva[i].valuelen; ++j) { in http2_send()
1127 stream->upload_left += nva[i].value[j] - '0'; in http2_send()
1138 nghttp2_nv authority = nva[authority_idx]; in http2_send()
1140 nva[i] = nva[i - 1]; in http2_send()
1142 nva[i] = authority; in http2_send()
1151 stream_id = nghttp2_submit_request(h2, NULL, nva, nheader, in http2_send()
1155 stream_id = nghttp2_submit_request(h2, NULL, nva, nheader, in http2_send()
1159 free(nva); in http2_send()