Home
last modified time | relevance | path

Searched refs:HTTPCLIENT_CHUNK_SIZE (Results 1 – 4 of 4) sorted by relevance

/AliOS-Things-master/components/http/internal/
A Dhttp_opts.h12 #ifndef HTTPCLIENT_CHUNK_SIZE
13 #define HTTPCLIENT_CHUNK_SIZE (2048) // 1024 macro
/AliOS-Things-master/components/http/src/
A Dhttp_client.c424 max_len = MIN(HTTPCLIENT_CHUNK_SIZE - 1, client_data->response_buf_len - 1 - count); in httpclient_retrieve_content()
470 if ( len < HTTPCLIENT_CHUNK_SIZE ) { in httpclient_retrieve_content()
472 int max_recv = MIN(client_data->response_buf_len, HTTPCLIENT_CHUNK_SIZE); in httpclient_retrieve_content()
642 if ( len < HTTPCLIENT_CHUNK_SIZE - 1 ) { in httpclient_response_parse()
644 if (HTTPCLIENT_CHUNK_SIZE - len - 1 <= 0) { in httpclient_response_parse()
829 if (client_data->header_buf_len < HTTPCLIENT_CHUNK_SIZE || in httpclient_recv()
830 client_data->response_buf_len < HTTPCLIENT_CHUNK_SIZE) { in httpclient_recv()
836 buf = (char *) malloc(HTTPCLIENT_CHUNK_SIZE); in httpclient_recv()
842 memset(buf, 0, HTTPCLIENT_CHUNK_SIZE); in httpclient_recv()
853 ret = httpclient_recv_data(client, buf, 1, HTTPCLIENT_CHUNK_SIZE - 1, &reclen); in httpclient_recv()
[all …]
/AliOS-Things-master/components/http/
A DREADME.md55 > HTTPCLIENT_CHUNK_SIZE : http chunk块数据大小
57 #ifndef HTTPCLIENT_CHUNK_SIZE
58 #define HTTPCLIENT_CHUNK_SIZE 1024
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_httpc.c44 #define HTTPCLIENT_CHUNK_SIZE (1024) macro
344 HTTPCLIENT_MIN(HTTPCLIENT_CHUNK_SIZE - 1, in _http_get_response_body()

Completed in 6 milliseconds