Searched refs:newbody (Results 1 – 3 of 3) sorted by relevance
88 void *newbody; in http_cb_response() local120 newbody = NULL; 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()134 proxy->http_body = newbody; in http_cb_response()
77 void *newbody; in spdy_cb_data_source_read() local100 newbody = NULL; 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()114 proxy->received_body = newbody; in spdy_cb_data_source_read()
335 void *newbody; in get_from_buffer() local340 newbody = NULL; in get_from_buffer()345 if(NULL == (newbody = malloc(*src_size - max_size))) in get_from_buffer()347 memcpy(newbody, *src + ret, *src_size - ret); in get_from_buffer()351 *src = newbody; in get_from_buffer()