Lines Matching refs:nv
193 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument
197 for(i = 0; nv[i]; i += 2) { in check_gzip()
198 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip()
199 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip()
311 char **nv; in on_ctrl_send_callback() local
317 nv = frame->syn_stream.nv; in on_ctrl_send_callback()
326 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback()
327 spdylay_printf(" %s: %s\n", nv[i], nv[i+1]); in on_ctrl_send_callback()
339 char **nv; in on_ctrl_recv_callback() local
345 nv = frame->syn_reply.nv; in on_ctrl_recv_callback()
350 nv = frame->headers.nv; in on_ctrl_recv_callback()
362 check_gzip(req, nv); in on_ctrl_recv_callback()
364 for(i = 0; nv[i]; i += 2) { in on_ctrl_recv_callback()
365 spdylay_printf(" %s: %s\n", nv[i], nv[i+1]); in on_ctrl_recv_callback()
598 const char *nv[15]; in submit_request() local
602 nv[0] = ":method"; nv[1] = "GET"; in submit_request()
603 nv[2] = ":path"; nv[3] = req->path; in submit_request()
604 nv[4] = ":version"; nv[5] = "HTTP/1.1"; in submit_request()
605 nv[6] = ":scheme"; nv[7] = "https"; in submit_request()
606 nv[8] = ":host"; nv[9] = req->hostport; in submit_request()
607 nv[10] = "accept"; nv[11] = "*/*"; in submit_request()
608 nv[12] = "user-agent"; nv[13] = "spdylay/"SPDYLAY_VERSION; in submit_request()
609 nv[14] = NULL; in submit_request()
610 rv = spdylay_submit_request(connection->session, pri, nv, NULL, req); in submit_request()