Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/nghttp/port/
Dhttp_parser.c729 parser->content_length = ULLONG_MAX; in http_parser_execute()
775 parser->content_length = ULLONG_MAX; in http_parser_execute()
984 parser->content_length = ULLONG_MAX; in http_parser_execute()
1502 parser->content_length = ch - '0'; in http_parser_execute()
1601 t = parser->content_length; in http_parser_execute()
1606 if (UNLIKELY((ULLONG_MAX - 10) / 10 < parser->content_length)) { in http_parser_execute()
1612 parser->content_length = t; in http_parser_execute()
1868 (parser->content_length > 0 && parser->content_length != ULLONG_MAX); in http_parser_execute()
1884 if (parser->content_length == 0) { in http_parser_execute()
1888 } else if (parser->content_length != ULLONG_MAX) { in http_parser_execute()
[all …]
/hal_espressif-2.7.6/examples/protocols/esp_http_client/main/
Desp_http_client_example.c499 int content_length = esp_http_client_fetch_headers(client); in http_perform_as_stream_reader() local
501 if (total_read_len < content_length && content_length <= MAX_HTTP_RECV_BUFFER) { in http_perform_as_stream_reader()
502 read_len = esp_http_client_read(client, buffer, content_length); in http_perform_as_stream_reader()
577 int content_length = 0; in http_native_request() local
589 content_length = esp_http_client_fetch_headers(client); in http_native_request()
590 if (content_length < 0) { in http_native_request()
/hal_espressif-2.7.6/components/esp_http_client/
Desp_http_client.c54 int content_length; /*!< data length */ member
249 client->response->content_length = parser->content_length; in http_on_headers_complete()
289 client->response->chunk_length = parser->content_length; in http_on_chunk_header()
885 …_process=%d, content_length=%d", client->response->data_process, client->response->content_length); in esp_http_client_get_data()
902 if (client->response->data_process != client->response->content_length) { in esp_http_client_is_complete_data_received()
903 …specified in content length %d", client->response->data_process, client->response->content_length); in esp_http_client_is_complete_data_received()
931 is_data_remain = client->response->data_process < client->response->content_length; in esp_http_client_read()
933 …ontent_length=%d", is_data_remain, client->response->is_chunked, client->response->content_length); in esp_http_client_read()
1034 while (client->response->data_process < client->response->content_length) { in esp_http_client_perform()
1080 ESP_LOGD(TAG, "content_length = %d", client->response->content_length); in esp_http_client_fetch_headers()
[all …]
/hal_espressif-2.7.6/docs/en/api-reference/protocols/
Desp_http_client.rst62 ESP_LOGI(TAG, "Status = %d, content_length = %d",
124 ESP_LOGI(TAG, "Status = %d, content_length = %d",
/hal_espressif-2.7.6/components/nghttp/port/include/
Dhttp_parser.h232 uint64_t content_length; /* # bytes in body (0 if no Content-Length header) */ member
/hal_espressif-2.7.6/components/esp_http_server/src/
Dhttpd_parse.c371 r->content_len = ((int)parser->content_length != -1 ? in cb_headers_complete()
372 parser->content_length : 0); in cb_headers_complete()