Home
last modified time | relevance | path

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

/Zephyr-latest/samples/net/sockets/big_http_download/src/
Dbig_http_download.c56 static char download_url[MAX_URL_LENGTH] = variable
166 strncpy(download_url, ptr, sizeof(download_url)); in parse_header()
167 download_url[sizeof(download_url) - 1] = '\0'; in parse_header()
170 ptr = strstr(download_url, "\n"); in parse_header()
179 ptr = strstr(download_url, "\r"); in parse_header()
312 printf("Server requested redirection to %s\n", download_url); in download()
388 if (strncmp(download_url, "http://", SSTRLEN("http://")) == 0) { in main()
390 p = download_url + SSTRLEN("http://"); in main()
392 } else if (strncmp(download_url, "https://", in main()
396 p = download_url + SSTRLEN("https://"); in main()