Searched refs:tmp_header (Results 1 – 2 of 2) sorted by relevance
/AliOS-Things-master/components/ota/ota_agent/download/ |
A D | ota_download_file2fs_http.c | 45 char tmp_header[64] = {0}; in ota_download_store_fs_start() local 90 memset(tmp_header, 0, sizeof(tmp_header)); in ota_download_store_fs_start() 92 strncpy(tmp_header, "Accept: */*\r\n", sizeof(tmp_header)); in ota_download_store_fs_start() 93 tmp_header[sizeof(tmp_header) - 1] = 0; in ota_download_store_fs_start() 97 ota_snprintf(tmp_header, sizeof(tmp_header), "Range: bytes=%d-\r\n", off_size); in ota_download_store_fs_start() 99 client.header = tmp_header; in ota_download_store_fs_start()
|
A D | ota_download_http.c | 203 char tmp_header[64] = {0}; in ota_download_image_header() local 263 memset(tmp_header, 0, sizeof(tmp_header)); in ota_download_image_header() 265 ota_snprintf(tmp_header, sizeof(tmp_header), "Range: bytes=%d-\r\n", off_size); in ota_download_image_header() 266 client.header = tmp_header; in ota_download_image_header() 367 char tmp_header[64] = {0}; in ota_download_start() local 406 memset(tmp_header, 0, sizeof(tmp_header)); in ota_download_start() 408 strncpy(tmp_header, "Accept: */*\r\n", sizeof(tmp_header)); in ota_download_start() 409 tmp_header[sizeof(tmp_header) - 1] = 0; in ota_download_start() 413 ota_snprintf(tmp_header, sizeof(tmp_header), "Range: bytes=%d-\r\n", off_size); in ota_download_start() 415 client.header = tmp_header; in ota_download_start()
|
Completed in 3 milliseconds