Home
last modified time | relevance | path

Searched refs:received_body_size (Results 1 – 4 of 4) sorted by relevance

/external/libmicrohttpd/src/examples/
Dmhd2spdy_spdy.c86 if(!proxy->received_body_size)//nothing to write now in spdy_cb_data_source_read()
97 if(length >= proxy->received_body_size) in spdy_cb_data_source_read()
99 ret = proxy->received_body_size; in spdy_cb_data_source_read()
105 if(NULL == (newbody = malloc(proxy->received_body_size - length))) in spdy_cb_data_source_read()
110 memcpy(newbody, proxy->received_body + length, proxy->received_body_size - length); in spdy_cb_data_source_read()
115 proxy->received_body_size -= ret; in spdy_cb_data_source_read()
117 if(0 == proxy->received_body_size && proxy->receiving_done) in spdy_cb_data_source_read()
Dmhd2spdy_structures.h117 size_t received_body_size; member
Dmhd2spdy_http.c231 …if(!copy_buffer(upload_data, *upload_data_size, &proxy->received_body, &proxy->received_body_size)) in http_cb_request()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c173 size_t received_body_size; member
414 if(!store_in_buffer(buf, size, &proxy->received_body, &proxy->received_body_size)) in spdy_post_data_cb()
735 if((proxy->receiving_done && !proxy->received_body_size) || !proxy->is_with_body_data || max < 1) in curl_read_cb()
747 if(!proxy->received_body_size)//nothing to write now in curl_read_cb()
754 ret = get_from_buffer(&(proxy->received_body), &(proxy->received_body_size), ptr, max); in curl_read_cb()