Evidence

imports <aws/http/private/h1_decoder.h> lines 2–18
2:10… ght Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 * SPDX-License-Identifier: Apache-2.0.
4 */
5
6#include <aws/http/private/h1_decoder.h>
7
8#include <aws/common/array_list.h>
9#include <aws/io/logging.h>
10#include <aws/testing/aws_test_harness.h>
11
12#include <ctype.h>
13#include <stdio.h>
14
15static const struct aws_byte_cursor s_typical_request = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("GET / HTTP/1.1\r\n"
16 "Host: amazon.com\r\n"
17 "Accept-Language: fr\r\n"
18 …
HTTP server response wire string lines 20–21
20:33… sor s_typical_response = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("HTTP/1.1 200 OK\r\n"
21 "Server: some-server\r\n …
HTTP Content-Length header literal in source lines 22–24
22:33… "Content-Length: 11\r\n"
23 "\r\n"
24 …
Copies bytes with native memcpy lines 73–77
73:19… ta) {
74 request_data->method_enum = method_enum;
75
76 memcpy(request_data->buffer, method_str->ptr, method_str->len);
77 request_data->method_str = aws_byte_cursor_from_array(request_ …
HTTP Content-Length before chunked lines 668–675
668:44… sfer-encoding */
669 AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("POST / HTTP/1.1\r\n"
670 "Content-Length: 999\r\n"
671 "Transfer-Encoding: chunked\r\n"),
672
673 /* Header is missing colon */
674 AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("GET / HTTP/1.1\r\n"
675 "Header-Missing-Colon yes it is\ …

Showing the top 5 files — 8 more files (107 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.