Home
last modified time | relevance | path

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

/AliOS-Things-master/components/http/src/
A Dhttp_method_api.c46 if(client_data->redirect_url != NULL) { in httpclient_get()
47 free(client_data->redirect_url); in httpclient_get()
48 client_data->redirect_url = NULL; in httpclient_get()
62 if(client_data->redirect_url != NULL) { in httpclient_head()
63 free(client_data->redirect_url); in httpclient_head()
64 client_data->redirect_url = NULL; in httpclient_head()
78 if(client_data->redirect_url != NULL) { in httpclient_post()
79 free(client_data->redirect_url); in httpclient_post()
80 client_data->redirect_url = NULL; in httpclient_post()
95 free(client_data->redirect_url); in httpclient_put()
[all …]
A Dhttp_client.c702 if(client_data->redirect_url == NULL) { in httpclient_response_parse()
703 client_data->redirect_url = (char* )malloc(HTTPCLIENT_MAX_URL_LEN); in httpclient_response_parse()
706 memset(client_data->redirect_url, 0, HTTPCLIENT_MAX_URL_LEN); in httpclient_response_parse()
707 memcpy(client_data->redirect_url, value_ptr, value_len); in httpclient_response_parse()
968 client_data->redirect_url = NULL; in httpclient_prepare()
1012 if (client_data->redirect_url) { in httpclient_unprepare()
1013 free(client_data->redirect_url); in httpclient_unprepare()
1014 client_data->redirect_url = NULL; in httpclient_unprepare()
/AliOS-Things-master/components/uvoice/stream/
A Duvoice_http.c326 ptr = loader->redirect ? loader->redirect_url : loader->url; in http_urlparse()
493 memset(loader->redirect_url, 0, HTTP_URL_LEN); in http_request()
494 memcpy(loader->redirect_url, ptr, copy_size); in http_request()
495 loader->redirect_url[copy_size] = '\0'; in http_request()
497 M_LOGD("redirect %s\n", loader->redirect_url); in http_request()
708 else if (strlen(loader->redirect_url) > strlen("http://")) in http_source_format()
709 format_parse_byname(loader->redirect_url, &temp); in http_source_format()
757 else if (strlen(loader->redirect_url) > strlen("http://")) in http_source_format()
758 format_parse_byname(loader->redirect_url, format); in http_source_format()
964 memset(loader->redirect_url, 0, sizeof(loader->redirect_url)); in http_loader_reset()
A Duvoice_http.h72 char redirect_url[HTTP_URL_LEN]; member
A Duvoice_hls.c406 memset(loader->redirect_url, 0, sizeof(loader->redirect_url)); in uvoice_hls_file_next()
/AliOS-Things-master/components/http/include/
A Dhttpclient.h86 char* redirect_url; /**< redirect url when got http 3** response code. */ member

Completed in 11 milliseconds