proxygen
|
#include "http_parser.h"
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <stdarg.h>
Go to the source code of this file.
Classes | |
struct | message |
struct | url_test |
Functions | |
int | request_url_cb (http_parser *p, const char *buf, size_t len) |
int | header_field_cb (http_parser *p, const char *buf, size_t len) |
int | header_value_cb (http_parser *p, const char *buf, size_t len) |
int | body_cb (http_parser *p, const char *buf, size_t len) |
int | count_body_cb (http_parser *p, const char *buf, size_t len) |
int | message_begin_cb (http_parser *p) |
int | headers_complete_cb (http_parser *p, const char *buf, size_t len) |
int | message_complete_cb (http_parser *p) |
int | response_reason_cb (http_parser *p, const char *buf, size_t len) |
int | chunk_header_cb (http_parser *p) |
int | chunk_complete_cb (http_parser *p) |
int | dontcall_message_begin_cb (http_parser *p) |
int | dontcall_header_field_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_header_value_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_request_url_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_body_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_headers_complete_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_message_complete_cb (http_parser *p) |
int | dontcall_response_reason_cb (http_parser *p, const char *buf, size_t len) |
int | dontcall_chunk_header_cb (http_parser *p) |
int | dontcall_chunk_complete_cb (http_parser *p) |
int | pause_message_begin_cb (http_parser *p) |
int | pause_header_field_cb (http_parser *p, const char *buf, size_t len) |
int | pause_header_value_cb (http_parser *p, const char *buf, size_t len) |
int | pause_request_url_cb (http_parser *p, const char *buf, size_t len) |
int | pause_body_cb (http_parser *p, const char *buf, size_t len) |
int | pause_headers_complete_cb (http_parser *p, const char *buf, size_t len) |
int | pause_message_complete_cb (http_parser *p) |
int | pause_response_reason_cb (http_parser *p, const char *buf, size_t len) |
int | pause_chunk_header_cb (http_parser *p) |
int | pause_chunk_complete_cb (http_parser *p) |
int | empty_cb (http_parser *p) |
int | empty_data_cb (http_parser *p, const char *buf, size_t len) |
void | parser_init (enum http_parser_type type) |
void | parser_free () |
size_t | parse (const char *buf, size_t len) |
size_t | parse_count_body (const char *buf, size_t len) |
size_t | parse_pause (const char *buf, size_t len) |
static int | check_str_eq (const struct message *m, const char *prop, const char *expected, const char *found) |
static int | check_num_eq (const struct message *m, const char *prop, int expected, int found) |
int | message_eq (int index, const struct message *expected) |
size_t | count_parsed_messages (const size_t nmsgs,...) |
void | upgrade_message_fix (char *body, const size_t nread, const size_t nmsgs,...) |
static void | print_error (const char *raw, size_t error_location) |
void | dump_url (const char *url, const struct http_parser_url *u) |
void | test_parse_url (void) |
void | test_message (const struct message *message) |
void | test_message_count_body (const struct message *message) |
void | test_simple (const char *buf, enum http_errno err_expected) |
void | test_header_overflow_error (int req) |
void | test_no_overflow_long_body (int req, size_t length) |
void | test_multiple3 (const struct message *r1, const struct message *r2, const struct message *r3) |
void | test_scan (const struct message *r1, const struct message *r2, const struct message *r3) |
char * | create_large_chunked_message (int body_size_in_kb, const char *headers) |
void | test_message_pause (const struct message *msg) |
void | test_on_message_begin_cb (const struct message *message) |
int | main (void) |
Variables | |
static http_parser * | parser |
static int | currently_parsing_eof |
static struct message | messages [5] |
static int | num_messages |
static http_parser_settings * | current_pause_parser |
const struct message | requests [] |
const struct message | responses [] |
const struct message | on_message_begin_cb_test [] |
static http_parser_settings | settings_dontcall |
static http_parser_settings | settings_pause |
static http_parser_settings | settings |
static http_parser_settings | settings_count_body |
static http_parser_settings | settings_null |
const struct url_test | url_tests [] |
#define APACHEBENCH_GET 13 |
#define BONJOUR_MADAME_FR 8 |
Referenced by main().
#define CHUNKED_W_BULLSHIT_AFTER_LENGTH 11 |
Referenced by main().
#define CHUNKED_W_TRAILING_HEADERS 10 |
Referenced by main().
#define CONNECT_CAPS_REQUEST 27 |
#define CONNECT_REQUEST 17 |
Referenced by main().
#define CONNECT_WITH_BODY_REQUEST 31 |
#define CURL_GET 0 |
#define DUMBFUCK 2 |
#define FALSE 0 |
Definition at line 32 of file test.c.
Referenced by testing::internal::GetThreadCount(), main(), testing::internal::NoDefaultContructor::NoDefaultContructor(), and testing::internal::TEST().
#define FIREFOX_GET 1 |
#define FRAGMENT_IN_URI 3 |
#define GET_FUNKY_CONTENT_LENGTH 6 |
Referenced by main().
#define GET_NO_HEADERS_NO_BODY 4 |
Referenced by main().
#define GET_ONE_HEADER_NO_BODY 5 |
Referenced by main().
#define GOOGLE_301 0 |
#define HOSTNAME_UNDERSCORE 25 |
#define IPV6_LITERAL_URI_CONNECT 29 |
#define IPV6_LITERAL_URI_GET 28 |
#define LINE_FOLDING_IN_HEADER 20 |
#define MAX_CHUNKS 16 |
Definition at line 36 of file test.c.
Referenced by chunk_header_cb(), main(), and message_eq().
#define MAX_ELEMENT_SIZE 500 |
Definition at line 35 of file test.c.
Referenced by header_value_cb().
#define MESSAGE_CHECK_NUM_EQ | ( | expected, | |
found, | |||
prop | |||
) | if (!check_num_eq(expected, #prop, expected->prop, found->prop)) return 0 |
Definition at line 1655 of file test.c.
Referenced by message_eq().
#define MESSAGE_CHECK_STR_EQ | ( | expected, | |
found, | |||
prop | |||
) | if (!check_str_eq(expected, #prop, expected->prop, found->prop)) return 0 |
Definition at line 1652 of file test.c.
Referenced by message_eq().
Definition at line 38 of file test.c.
Referenced by test_message_count_body().
#define MSEARCH_REQ 20 |
#define NO_CARRIAGE_RET 5 |
Referenced by main().
#define NO_CONTENT_LENGTH_RESPONSE 1 |
#define NO_HEADERS_NO_BODY_404 2 |
Referenced by main().
#define NO_HTTP_VERSION 19 |
#define NO_REASON_PHRASE 3 |
Referenced by main().
#define NON_ASCII_IN_STATUS_LINE 11 |
#define PATCH_REQ 26 |
#define POST_CHUNKED_ALL_YOUR_BASE 8 |
Referenced by main().
#define POST_IDENTITY_BODY_WORLD 7 |
Referenced by main().
#define PREFIX_NEWLINE_GET 15 |
Referenced by main().
#define PROXY_CONNECTION 6 |
#define QUERY_TERMINATED_HOST 21 |
#define QUERY_TERMINATED_HOSTPORT 22 |
#define QUERY_URL_WITH_QUESTION_MARK_GET 14 |
Referenced by main().
#define REPORT_REQ 18 |
#define RES_FIELD_UNDERSCORE 10 |
#define SPACE_TERMINATED_HOSTPORT 23 |
#define TRAILING_SPACE_ON_CHUNKED_BODY 4 |
Referenced by main().
#define TRUE 1 |
Definition at line 30 of file test.c.
Referenced by testing::internal::GetThreadCount(), headers_complete_cb(), message_complete_cb(), testing::internal::NoDefaultContructor::NoDefaultContructor(), and testing::internal::TEST().
#define TWO_CHUNKS_MULT_ZERO_END 9 |
Referenced by main().
#define UNDERSTORE_HEADER_KEY 7 |
Referenced by main().
#define UPGRADE_POST_REQUEST 30 |
#define UPGRADE_REQUEST 16 |
#define UTF8_PATH_REQ 24 |
#define WITH_QUOTES 12 |
int body_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1246 of file test.c.
References message::body, message::body_size, messages, and num_messages.
Referenced by pause_body_cb().
|
inlinestatic |
|
inlinestatic |
Definition at line 1619 of file test.c.
References message::name.
Referenced by message_eq(), and upgrade_message_fix().
int chunk_complete_cb | ( | http_parser * | p | ) |
Definition at line 1324 of file test.c.
References messages, message::num_chunks_complete, and num_messages.
Referenced by pause_chunk_complete_cb().
int chunk_header_cb | ( | http_parser * | p | ) |
Definition at line 1306 of file test.c.
References message::chunk_lengths, http_parser::content_length, MAX_CHUNKS, messages, message::num_chunks, and num_messages.
Referenced by pause_chunk_header_cb().
int count_body_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
size_t count_parsed_messages | ( | const size_t | nmsgs, |
... | |||
) |
Definition at line 1715 of file test.c.
References i, m, and message::upgrade.
Referenced by test_multiple3(), and test_scan().
char* create_large_chunked_message | ( | int | body_size_in_kb, |
const char * | headers | ||
) |
int dontcall_body_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int dontcall_chunk_complete_cb | ( | http_parser * | p | ) |
int dontcall_chunk_header_cb | ( | http_parser * | p | ) |
int dontcall_header_field_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int dontcall_header_value_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int dontcall_headers_complete_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int dontcall_message_begin_cb | ( | http_parser * | p | ) |
int dontcall_message_complete_cb | ( | http_parser * | p | ) |
int dontcall_request_url_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int dontcall_response_reason_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
void dump_url | ( | const char * | url, |
const struct http_parser_url * | u | ||
) |
Definition at line 2309 of file test.c.
References http_parser_url::field_data, http_parser_url::field_set, i, http_parser_url::len, http_parser_url::off, http_parser_url::port, and UF_MAX.
Referenced by test_parse_url().
int empty_cb | ( | http_parser * | p | ) |
int empty_data_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
int header_field_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1212 of file test.c.
References message::FIELD, message::headers, message::last_header_element, m, messages, message::num_headers, and num_messages.
Referenced by pause_header_field_cb().
int header_value_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1228 of file test.c.
References message::headers, message::last_header_element, m, MAX_ELEMENT_SIZE, messages, message::num_headers, num_messages, and message::VALUE.
Referenced by pause_header_value_cb().
int headers_complete_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1273 of file test.c.
References message::headers_complete_cb_called, message::http_major, http_parser::http_major, message::http_minor, http_parser::http_minor, messages, message::method, http_parser::method, num_messages, message::status_code, http_parser::status_code, and TRUE.
Referenced by pause_headers_complete_cb().
int main | ( | void | ) |
TESTING ON_MESSAGE_BEGIN CALLS
REQUESTS
Definition at line 2834 of file test.c.
References BONJOUR_MADAME_FR, message::chunk_lengths, CHUNKED_W_BULLSHIT_AFTER_LENGTH, CHUNKED_W_TRAILING_HEADERS, CONNECT_REQUEST, create_large_chunked_message(), FALSE, bm::free(), GET_FUNKY_CONTENT_LENGTH, GET_NO_HEADERS_NO_BODY, GET_ONE_HEADER_NO_BODY, HPE_INVALID_CONTENT_LENGTH, HPE_INVALID_HEADER_TOKEN, HPE_INVALID_METHOD, HPE_INVALID_TRANSFER_ENCODING, HPE_INVALID_UPGRADE, HPE_INVALID_VERSION, HPE_OK, HPE_STRICT, HPE_UNKNOWN, HTTP_REQUEST, HTTP_RESPONSE, i, k, MAX_CHUNKS, message::name, NO_CARRIAGE_RET, NO_HEADERS_NO_BODY_404, NO_REASON_PHRASE, POST_CHUNKED_ALL_YOUR_BASE, POST_IDENTITY_BODY_WORLD, PREFIX_NEWLINE_GET, QUERY_URL_WITH_QUESTION_MARK_GET, message::should_keep_alive, test_header_overflow_error(), test_message(), test_message_count_body(), test_message_pause(), test_multiple3(), test_no_overflow_long_body(), test_on_message_begin_cb(), test_parse_url(), test_scan(), test_simple(), TRAILING_SPACE_ON_CHUNKED_BODY, TWO_CHUNKS_MULT_ZERO_END, and UNDERSTORE_HEADER_KEY.
Referenced by cmake_minimum_required().
int message_begin_cb | ( | http_parser * | p | ) |
Definition at line 1265 of file test.c.
References message::message_begin_cb_called, messages, and num_messages.
Referenced by pause_message_begin_cb().
int message_complete_cb | ( | http_parser * | p | ) |
Definition at line 1286 of file test.c.
References currently_parsing_eof, message::message_complete_cb_called, message::message_complete_on_eof, messages, num_messages, and TRUE.
Referenced by pause_message_complete_cb().
int message_eq | ( | int | index, |
const struct message * | expected | ||
) |
Definition at line 1660 of file test.c.
References message::body, message::body_size, check_str_eq(), message::chunk_lengths, message::headers, message::headers_complete_cb_called, message::http_major, message::http_minor, HTTP_REQUEST, i, m, MAX_CHUNKS, message::message_begin_cb_called, MESSAGE_CHECK_NUM_EQ, MESSAGE_CHECK_STR_EQ, message::message_complete_cb_called, message::message_complete_on_eof, messages, message::method, message::num_chunks, message::num_chunks_complete, message::num_headers, message::request_url, message::response_reason, message::status_code, message::type, and message::upgrade.
Referenced by test_message(), test_message_count_body(), test_message_pause(), test_multiple3(), and test_scan().
size_t parse | ( | const char * | buf, |
size_t | len | ||
) |
Definition at line 1591 of file test.c.
References currently_parsing_eof, and http_parser_execute().
Referenced by folly::DynamicParser::arrayItems(), HTTP2FramerTest::dataFrameTest(), folly::DynamicParser::objectItems(), folly::DynamicParser::optional(), HTTP2FramerTest::parse(), parseSPDY(), folly::DynamicParser::required(), folly::DynamicParser::setAllowNonStringKeyErrors(), TEST(), TEST_F(), test_message(), test_multiple3(), test_on_message_begin_cb(), test_scan(), test_simple(), and proxygen::RFC1867Base::testSimple().
size_t parse_count_body | ( | const char * | buf, |
size_t | len | ||
) |
Definition at line 1599 of file test.c.
References currently_parsing_eof, and http_parser_execute().
Referenced by test_message_count_body().
size_t parse_pause | ( | const char * | buf, |
size_t | len | ||
) |
Definition at line 1607 of file test.c.
References currently_parsing_eof, http_parser_execute(), s, and settings_pause.
Referenced by test_message_pause().
void parser_free | ( | ) |
Definition at line 1584 of file test.c.
References bm::free().
Referenced by test_message(), test_message_count_body(), test_message_pause(), test_multiple3(), test_on_message_begin_cb(), test_scan(), and test_simple().
void parser_init | ( | enum http_parser_type | type | ) |
Definition at line 1569 of file test.c.
References http_parser_init(), messages, and num_messages.
Referenced by test_message(), test_message_count_body(), test_message_pause(), test_multiple3(), test_on_message_begin_cb(), test_scan(), and test_simple().
int pause_body_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1466 of file test.c.
References body_cb(), http_parser_pause(), and settings_dontcall.
int pause_chunk_complete_cb | ( | http_parser * | p | ) |
Definition at line 1506 of file test.c.
References chunk_complete_cb(), http_parser_pause(), and settings_dontcall.
int pause_chunk_header_cb | ( | http_parser * | p | ) |
Definition at line 1498 of file test.c.
References chunk_header_cb(), http_parser_pause(), and settings_dontcall.
int pause_header_field_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1442 of file test.c.
References header_field_cb(), http_parser_pause(), and settings_dontcall.
int pause_header_value_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1450 of file test.c.
References header_value_cb(), http_parser_pause(), and settings_dontcall.
int pause_headers_complete_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1474 of file test.c.
References headers_complete_cb(), http_parser_pause(), and settings_dontcall.
int pause_message_begin_cb | ( | http_parser * | p | ) |
Definition at line 1434 of file test.c.
References http_parser_pause(), message_begin_cb(), and settings_dontcall.
int pause_message_complete_cb | ( | http_parser * | p | ) |
Definition at line 1482 of file test.c.
References http_parser_pause(), message_complete_cb(), and settings_dontcall.
int pause_request_url_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1458 of file test.c.
References http_parser_pause(), request_url_cb(), and settings_dontcall.
int pause_response_reason_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1490 of file test.c.
References http_parser_pause(), response_reason_cb(), and settings_dontcall.
|
static |
Definition at line 1775 of file test.c.
References http_errno_description(), HTTP_PARSER_ERRNO, HTTP_PARSER_ERRNO_LINE, and i.
Referenced by test_message(), test_message_count_body(), test_multiple3(), and test_scan().
int request_url_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1204 of file test.c.
References messages, num_messages, and message::request_url.
Referenced by pause_request_url_cb().
int response_reason_cb | ( | http_parser * | p, |
const char * | buf, | ||
size_t | len | ||
) |
Definition at line 1298 of file test.c.
References messages, num_messages, and message::response_reason.
Referenced by pause_response_reason_cb().
void test_header_overflow_error | ( | int | req | ) |
Definition at line 2504 of file test.c.
References HPE_HEADER_OVERFLOW, HTTP_PARSER_ERRNO, http_parser_execute(), http_parser_init(), HTTP_REQUEST, HTTP_RESPONSE, i, and parser.
Referenced by main().
void test_message | ( | const struct message * | message | ) |
Definition at line 2377 of file test.c.
References message_eq(), messages, message::name, num_messages, parse(), parser_free(), parser_init(), print_error(), message::raw, fizz::detail::read(), test(), message::type, message::upgrade, and http_parser::upgrade.
Referenced by main().
void test_message_count_body | ( | const struct message * | message | ) |
Definition at line 2437 of file test.c.
References i, message_eq(), MIN, message::name, num_messages, parse_count_body(), parser_free(), parser_init(), print_error(), message::raw, fizz::detail::read(), and message::type.
Referenced by main().
void test_message_pause | ( | const struct message * | msg | ) |
Definition at line 2771 of file test.c.
References HPE_PAUSED, HPE_STRICT, HTTP_PARSER_ERRNO, http_parser_pause(), message::message_complete_cb_called, message_eq(), messages, message::name, num_messages, parse_pause(), parser_free(), parser_init(), message::raw, test(), message::type, message::upgrade, and http_parser::upgrade.
Referenced by main().
void test_multiple3 | ( | const struct message * | r1, |
const struct message * | r2, | ||
const struct message * | r3 | ||
) |
Definition at line 2565 of file test.c.
References count_parsed_messages(), message_eq(), num_messages, parse(), parser_free(), parser_init(), print_error(), message::raw, fizz::detail::read(), test(), message::type, http_parser::upgrade, and upgrade_message_fix().
Referenced by main().
void test_no_overflow_long_body | ( | int | req, |
size_t | length | ||
) |
Definition at line 2532 of file test.c.
References http_parser_execute(), http_parser_init(), HTTP_REQUEST, HTTP_RESPONSE, i, and parser.
Referenced by main().
void test_on_message_begin_cb | ( | const struct message * | message | ) |
Definition at line 2824 of file test.c.
References message::message_begin_cb_called, messages, num_messages, parse(), parser_free(), parser_init(), message::raw, and message::type.
Referenced by main().
void test_parse_url | ( | void | ) |
Definition at line 2330 of file test.c.
References dump_url(), http_parser_parse_url(), i, url_test::is_connect, url_test::name, url_test::rv, test(), url_test::u, url_test::url, and url_tests.
Referenced by main().
Definition at line 2622 of file test.c.
References count_parsed_messages(), folly::pushmi::operators::error(), HTTP_BOTH, i, message_eq(), num_messages, ops, parse(), parser_free(), parser_init(), print_error(), message::raw, fizz::detail::read(), test(), message::type, http_parser::upgrade, and upgrade_message_fix().
Referenced by main().
void test_simple | ( | const char * | buf, |
enum http_errno | err_expected | ||
) |
Definition at line 2473 of file test.c.
References HPE_OK, HPE_STRICT, http_errno_name(), HTTP_PARSER_ERRNO, HTTP_REQUEST, parse(), parser_free(), and parser_init().
Referenced by main().
void upgrade_message_fix | ( | char * | body, |
const size_t | nread, | ||
const size_t | nmsgs, | ||
... | |||
) |
Definition at line 1738 of file test.c.
References check_str_eq(), i, m, messages, num_messages, message::raw, and message::upgrade.
Referenced by test_multiple3(), and test_scan().
|
static |
|
static |
Definition at line 73 of file test.c.
Referenced by message_complete_cb(), parse(), parse_count_body(), and parse_pause().
|
static |
Definition at line 75 of file test.c.
Referenced by body_cb(), chunk_complete_cb(), chunk_header_cb(), count_body_cb(), header_field_cb(), header_value_cb(), headers_complete_cb(), message_begin_cb(), message_complete_cb(), message_eq(), QueueConsumer::messageAvailable(), QueueTest::multiConsumer(), parser_init(), request_url_cb(), response_reason_cb(), QueueTest::sendOne(), TEST(), TEST_F(), test_message(), test_message_pause(), test_on_message_begin_cb(), testNumHandlers(), and upgrade_message_fix().
|
static |
Definition at line 76 of file test.c.
Referenced by body_cb(), chunk_complete_cb(), chunk_header_cb(), count_body_cb(), header_field_cb(), header_value_cb(), headers_complete_cb(), message_begin_cb(), message_complete_cb(), parser_init(), request_url_cb(), response_reason_cb(), test_message(), test_message_count_body(), test_message_pause(), test_multiple3(), test_on_message_begin_cb(), test_scan(), and upgrade_message_fix().
|
static |
Definition at line 40 of file test.c.
Referenced by folly::getGFlags(), test_header_overflow_error(), and test_no_overflow_long_body().
|
static |
Definition at line 1529 of file test.c.
Referenced by proxygen::HTTPSessionBase::enableExHeadersSettings(), HTTPDownstreamTest< SPDY3_1CodecPair >::expectResponses(), proxygen::HTTP2Codec::generateSettings(), proxygen::HTTPSession::getCodecSendWindowSize(), proxygen::HTTP2Codec::getHeaderIndexingStrategy(), proxygen::HTTPSession::getSecurityProtocol(), proxygen::SPDYCodec::onControlFrame(), proxygen::HTTP2Codec::onIngressUpgradeMessage(), proxygen::HTTPSession::onNativeProtocolUpgradeImpl(), proxygen::HTTP2Codec::parseSettings(), proxygen::http2::parseSettings(), proxygen::PassThroughHTTPCodecFilter::PassThroughHTTPCodecFilter(), proxygen::HTTPSession::setEgressSettings(), proxygen::HTTPSession::setFlowControl(), proxygen::HTTPSession::setMaxConcurrentIncomingStreams(), proxygen::HTTPSession::setupCodec(), proxygen::HTTPDownstreamSession::setupOnHeadersComplete(), TEST(), TEST_F(), HTTP2CodecTest::testFrameSizeLimit(), HTTP2CodecTest::testHeaderListSize(), and TYPED_TEST_P().
|
static |
|
static |
Definition at line 1416 of file test.c.
Referenced by pause_body_cb(), pause_chunk_complete_cb(), pause_chunk_header_cb(), pause_header_field_cb(), pause_header_value_cb(), pause_headers_complete_cb(), pause_message_begin_cb(), pause_message_complete_cb(), pause_request_url_cb(), and pause_response_reason_cb().
|
static |
|
static |
Definition at line 1516 of file test.c.
Referenced by parse_pause().
const struct url_test url_tests[] |
Definition at line 1826 of file test.c.
Referenced by test_parse_url().