Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c989 char *url_buffer, uint8_t *status_buffer) in send_request() argument
1005 http_req.url = url_buffer; in send_request()
1203 char url_buffer[URL_BUFFER_SIZE] = {0}; in s_probe() local
1207 snprintk(url_buffer, sizeof(url_buffer), "%s/%s-%s", HAWKBIT_JSON_URL, CONFIG_BOARD, in s_probe()
1210 if (!send_request(&s->hb_context, HAWKBIT_PROBE, url_buffer, NULL)) { in s_probe()
1252 char url_buffer[URL_BUFFER_SIZE] = {0}; in s_cancel() local
1263 snprintk(url_buffer, sizeof(url_buffer), "%s/%s", cancel_base, "feedback"); in s_cancel()
1287 if (!send_request(&s->hb_context, HAWKBIT_CANCEL, url_buffer, status_buffer)) { in s_cancel()
1312 char *url_buffer; in s_config_device() local
1314 url_buffer = hawkbit_get_url(s->hb_context.results.base._links.configData.href); in s_config_device()
[all …]
/Zephyr-latest/subsys/net/lib/http/
Dhttp_server_http1.c267 ptr = &client->url_buffer[dynamic_detail->common.path_len]; in dynamic_get_del_req()
418 len = strlen(client->url_buffer); in handle_http1_static_fs_resource()
423 http_server_get_content_type_from_extension(client->url_buffer, content_type, in handle_http1_static_fs_resource()
426 client->url_buffer); in handle_http1_static_fs_resource()
735 size_t offset = strlen(ctx->url_buffer); in on_url()
739 if (offset + length > sizeof(ctx->url_buffer) - 1) { in on_url()
744 memcpy(ctx->url_buffer + offset, at, length); in on_url()
746 ctx->url_buffer[offset] = '\0'; in on_url()
796 memset(client->url_buffer, 0, sizeof(client->url_buffer)); in enter_http1_request()
836 LOG_DBG("Requested URL: %s", client->url_buffer); in handle_http1_request()
[all …]
Dhttp_server_http2.c425 len = strlen(client->url_buffer); in handle_http2_static_fs_resource()
430 http_server_get_content_type_from_extension(client->url_buffer, content_type, in handle_http2_static_fs_resource()
433 client->url_buffer); in handle_http2_static_fs_resource()
574 ptr = &client->url_buffer[dynamic_detail->common.path_len]; in dynamic_get_del_req_v2()
1032 detail = get_resource_detail(client->url_buffer, &path_len, false); in handle_http1_to_http2_upgrade()
1290 if (header->value_len > sizeof(client->url_buffer) - 1) { in process_header()
1295 memcpy(client->url_buffer, header->value, header->value_len); in process_header()
1296 client->url_buffer[header->value_len] = '\0'; in process_header()
1512 detail = get_resource_detail(client->url_buffer, &path_len, false); in handle_http_frame_headers()
Dhttp_server_core.c406 memset(client->url_buffer, 0, sizeof(client->url_buffer)); in init_client_ctx()
/Zephyr-latest/include/zephyr/net/http/
Dserver.h442 unsigned char url_buffer[HTTP_SERVER_MAX_URL_LENGTH]; member