Classes | Typedefs | Functions | Variables
h2_proxy.cc File Reference
#include <string.h>
#include <grpc/grpc_security.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/sync.h>
#include "src/core/ext/filters/client_channel/client_channel.h"
#include "src/core/ext/filters/http/server/http_server_filter.h"
#include "src/core/ext/transport/chttp2/transport/chttp2_transport.h"
#include "src/core/lib/channel/connected_channel.h"
#include "src/core/lib/surface/channel.h"
#include "src/core/lib/surface/server.h"
#include "test/core/end2end/end2end_tests.h"
#include "test/core/end2end/fixtures/proxy.h"
#include "test/core/util/port.h"
#include "test/core/util/test_config.h"
Include dependency graph for h2_proxy.cc:

Go to the source code of this file.

Classes

struct  fullstack_fixture_data
 

Typedefs

typedef struct fullstack_fixture_data fullstack_fixture_data
 

Functions

static grpc_end2end_test_fixture chttp2_create_fixture_fullstack (const grpc_channel_args *client_args, const grpc_channel_args *server_args)
 
void chttp2_init_client_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *client_args)
 
void chttp2_init_server_fullstack (grpc_end2end_test_fixture *f, const grpc_channel_args *server_args)
 
void chttp2_tear_down_fullstack (grpc_end2end_test_fixture *f)
 
static grpc_channelcreate_proxy_client (const char *target, const grpc_channel_args *client_args)
 
static grpc_servercreate_proxy_server (const char *port, const grpc_channel_args *server_args)
 
int main (int argc, char **argv)
 

Variables

static grpc_end2end_test_config configs []
 
static const grpc_end2end_proxy_def proxy_def
 

Typedef Documentation

◆ fullstack_fixture_data

Function Documentation

◆ chttp2_create_fixture_fullstack()

static grpc_end2end_test_fixture chttp2_create_fixture_fullstack ( const grpc_channel_args client_args,
const grpc_channel_args server_args 
)
static

Definition at line 62 of file h2_proxy.cc.

◆ chttp2_init_client_fullstack()

void chttp2_init_client_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args client_args 
)

Definition at line 78 of file h2_proxy.cc.

◆ chttp2_init_server_fullstack()

void chttp2_init_server_fullstack ( grpc_end2end_test_fixture f,
const grpc_channel_args server_args 
)

Definition at line 89 of file h2_proxy.cc.

◆ chttp2_tear_down_fullstack()

void chttp2_tear_down_fullstack ( grpc_end2end_test_fixture f)

Definition at line 106 of file h2_proxy.cc.

◆ create_proxy_client()

static grpc_channel* create_proxy_client ( const char *  target,
const grpc_channel_args client_args 
)
static

Definition at line 51 of file h2_proxy.cc.

◆ create_proxy_server()

static grpc_server* create_proxy_server ( const char *  port,
const grpc_channel_args server_args 
)
static

Definition at line 41 of file h2_proxy.cc.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 124 of file h2_proxy.cc.

Variable Documentation

◆ configs

grpc_end2end_test_config configs[]
static

◆ proxy_def

const grpc_end2end_proxy_def proxy_def
static
Initial value:

Definition at line 59 of file h2_proxy.cc.

FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER
#define FEATURE_MASK_SUPPORTS_AUTHORITY_HEADER
Definition: end2end_tests.h:38
chttp2_create_fixture_fullstack
static grpc_end2end_test_fixture chttp2_create_fixture_fullstack(const grpc_channel_args *client_args, const grpc_channel_args *server_args)
Definition: h2_proxy.cc:62
FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION
#define FEATURE_MASK_SUPPORTS_DELAYED_CONNECTION
Definition: end2end_tests.h:28
FEATURE_MASK_SUPPORTS_REQUEST_PROXYING
#define FEATURE_MASK_SUPPORTS_REQUEST_PROXYING
Definition: end2end_tests.h:36
chttp2_tear_down_fullstack
void chttp2_tear_down_fullstack(grpc_end2end_test_fixture *f)
Definition: h2_proxy.cc:106
create_proxy_server
static grpc_server * create_proxy_server(const char *port, const grpc_channel_args *server_args)
Definition: h2_proxy.cc:41
chttp2_init_server_fullstack
void chttp2_init_server_fullstack(grpc_end2end_test_fixture *f, const grpc_channel_args *server_args)
Definition: h2_proxy.cc:89
chttp2_init_client_fullstack
void chttp2_init_client_fullstack(grpc_end2end_test_fixture *f, const grpc_channel_args *client_args)
Definition: h2_proxy.cc:78
FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL
#define FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL
Definition: end2end_tests.h:37
create_proxy_client
static grpc_channel * create_proxy_client(const char *target, const grpc_channel_args *client_args)
Definition: h2_proxy.cc:51


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:19