Lines Matching refs:httpc_handle
84 static httpclient_t *httpc_handle = NULL; variable
150 if (httpc_handle == NULL) { in http_start()
152 httpc_handle = (httpclient_t *)aos_malloc(sizeof(httpclient_t)); in http_start()
153 if (NULL != httpc_handle) { in http_start()
161 aos_free(httpc_handle); in http_start()
162 httpc_handle = NULL; in http_start()
184 httpclient_set_custom_header(httpc_handle, customer_header); in on_fs_upload()
207 while (HTTP_SUCCESS != httpclient_put(httpc_handle, up_uri, &client_data)) { in on_fs_upload()
237 httpclient_clse(httpc_handle); in on_fs_upload()
244 aos_free(httpc_handle); in on_fs_upload()
245 httpc_handle = NULL; in on_fs_upload()