Searched refs:reclen (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_httpc.c | 518 int reclen = 0, ret = ERROR_HTTP_CONN; in httpclient_recv_response() local 532 ret = _http_get_response_body(client, buf, reclen, in httpclient_recv_response() 537 ret = _http_recv(client, buf, HTTPCLIENT_RAED_HEAD_SIZE, &reclen, in httpclient_recv_response() 543 buf[reclen] = '\0'; in httpclient_recv_response() 545 if (reclen) { in httpclient_recv_response() 550 client, buf, reclen, iotx_time_left(&timer), client_data); in httpclient_recv_response()
|
/AliOS-Things-master/components/http/src/ |
A D | http_client.c | 824 int reclen = 0; in httpclient_recv() local 851 ret = httpclient_retrieve_content(client, buf, reclen, client_data); in httpclient_recv() 853 ret = httpclient_recv_data(client, buf, 1, HTTPCLIENT_CHUNK_SIZE - 1, &reclen); in httpclient_recv() 858 buf[reclen] = '\0'; in httpclient_recv() 860 if (reclen) { in httpclient_recv() 861 http_debug("reclen:%d, buf:%s", reclen, buf); in httpclient_recv() 862 ret = httpclient_response_parse(client, buf, reclen, client_data); in httpclient_recv()
|
Completed in 6 milliseconds