Lines Matching refs:send_buf

66 static int http_send_data(int sock, char *send_buf,  in http_send_data()  argument
91 strncpy(send_buf + end_of_send, 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()
112 memcpy(send_buf + end_of_send, in http_send_data()
141 static int http_flush_data(int sock, const char *send_buf, size_t send_buf_len, in http_flush_data() argument
146 LOG_HEXDUMP_DBG(send_buf, send_buf_len, "Data to send"); in http_flush_data()
148 ret = sendall(sock, send_buf, send_buf_len, req_end_timepoint); in http_flush_data()
559 char send_buf[MAX_SEND_BUF_LEN]; in http_client_req() local
560 const size_t send_buf_max_len = sizeof(send_buf); in http_client_req()
584 ret = http_send_data(sock, send_buf, send_buf_max_len, &send_buf_pos, in http_client_req()
595 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
605 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
617 ret = http_flush_data(sock, send_buf, send_buf_pos, req_end_timepoint); in http_client_req()
634 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
646 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
657 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
678 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
684 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
694 ret = http_flush_data(sock, send_buf, send_buf_pos, req_end_timepoint); in http_client_req()
726 ret = http_send_data(sock, send_buf, send_buf_max_len, in http_client_req()
736 ret = http_flush_data(sock, send_buf, send_buf_pos, req_end_timepoint); in http_client_req()