Lines Matching refs:end_of_send
73 int ret, end_of_send = *send_buf_pos; in http_send_data() local
88 to_be_copied = send_buf_max_len - end_of_send; in http_send_data()
91 strncpy(send_buf + end_of_send, in http_send_data()
95 end_of_send += to_be_copied; in http_send_data()
99 LOG_HEXDUMP_DBG(send_buf, end_of_send, in http_send_data()
102 ret = sendall(sock, send_buf, end_of_send, req_end_timepoint); in http_send_data()
105 end_of_send, ret); in http_send_data()
108 sent += end_of_send; in http_send_data()
109 end_of_send = 0; in http_send_data()
112 memcpy(send_buf + end_of_send, in http_send_data()
115 end_of_send += remaining_len; in http_send_data()
125 if (end_of_send > (int)send_buf_max_len) { in http_send_data()
126 NET_ERR("Sending overflow (%d > %zd)", end_of_send, in http_send_data()
131 *send_buf_pos = end_of_send; in http_send_data()