Lines Matching refs:all_headers
399 struct SPDY_NameValue ** all_headers = NULL; //TODO maybe array in stack is enough in SPDY_build_response() local
417 if(NULL == (all_headers = malloc(num_hdr_containers * sizeof(struct SPDY_NameValue *)))) in SPDY_build_response()
419 memset(all_headers, 0, num_hdr_containers * sizeof(struct SPDY_NameValue *)); in SPDY_build_response()
422 all_headers[1] = headers; in SPDY_build_response()
424 if(NULL == (all_headers[0] = SPDY_name_value_create())) in SPDY_build_response()
434 if(SPDY_YES != SPDY_name_value_add(all_headers[0], ":status", fullstatus)) in SPDY_build_response()
440 if(SPDY_YES != SPDY_name_value_add(all_headers[0], ":version", version)) in SPDY_build_response()
443 if(0 >= (response->headers_size = SPDYF_name_value_to_stream(all_headers, in SPDY_build_response()
448 SPDY_name_value_destroy(all_headers[0]); in SPDY_build_response()
449 free(all_headers); in SPDY_build_response()
450 all_headers = NULL; in SPDY_build_response()
470 if(NULL != all_headers) in SPDY_build_response()
471 SPDY_name_value_destroy(all_headers[0]); in SPDY_build_response()
472 free(all_headers); in SPDY_build_response()