Home
last modified time | relevance | path

Searched refs:http_body_size (Results 1 – 5 of 5) sorted by relevance

/external/libmicrohttpd/src/examples/
Dmhd2spdy_http.c97 if(0 == proxy->http_body_size && (proxy->done || !proxy->spdy_active)) in http_cb_response()
103 if(!proxy->http_body_size)//nothing to write now in http_cb_response()
117 if(max >= proxy->http_body_size) in http_cb_response()
119 ret = proxy->http_body_size; in http_cb_response()
125 if(NULL == (newbody = au_malloc(proxy->http_body_size - max))) in http_cb_response()
130 memcpy(newbody, proxy->http_body + max, proxy->http_body_size - max); in http_cb_response()
135 proxy->http_body_size -= ret; in http_cb_response()
Dmhd2spdy_structures.c121 if(NULL != proxy->http_body && proxy->http_body_size > 0) in free_proxy()
122 UPDATE_STAT(glob_stat.spdy_bytes_received_and_dropped, proxy->http_body_size); in free_proxy()
Dmhd2spdy_structures.h116 size_t http_body_size; member
Dmhd2spdy_spdy.c438 if(!copy_buffer(data, len, &proxy->http_body, &proxy->http_body_size)) in spdy_cb_on_data_chunk_recv()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c172 size_t http_body_size; member
459 if(!proxy->http_body_size)//nothing to write now in response_callback()
466 ret = get_from_buffer(&(proxy->http_body), &(proxy->http_body_size), buffer, max); in response_callback()
474 if((proxy->curl_done || proxy->curl_error) && 0 == proxy->http_body_size) *more = false; in response_callback()
697 if(!store_in_buffer(contents, realsize, &proxy->http_body, &proxy->http_body_size)) in curl_write_cb()