Go to the documentation of this file.
29 "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n"
31 "\x00\x00\x00\x04\x00\x00\x00\x00\x00"
34 "\x00\x00\xd0\x01\x04\x00\x00\x00\x01"
35 "\x10\x05:path\x0f/registered/bar"
36 "\x10\x07:scheme\x04http"
37 "\x10\x07:method\x04POST"
38 "\x10\x0a:authority\x09localhost"
42 "\x10\x14grpc-accept-encoding\x15identity,deflate,gzip"
43 "\x10\x02te\x08trailers"
44 "\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)"
47 "\x00\x00\x05\x00\x00\x00\x00\x00\x01"
48 "\x01\x00\x00\x27\x10"
51 "\x00\x00\xd0\x01\x04\x00\x00\x00\x03"
52 "\x10\x05:path\x0f/registered/bar"
53 "\x10\x07:scheme\x04http"
54 "\x10\x07:method\x04POST"
55 "\x10\x0a:authority\x09localhost"
59 "\x10\x14grpc-accept-encoding\x15identity,deflate,gzip"
60 "\x10\x02te\x08trailers"
61 "\x10\x0auser-agent\"bad-client grpc-c/0.12.0.0 (linux)"
64 "\x00\x00\x05\x00\x00\x00\x00\x00\x03"
65 "\x01\x00\x00\x27\x10"
68 static void*
tag(
intptr_t t) {
return reinterpret_cast<void*
>(t); }
71 void* registered_method) {
109 int main(
int argc,
char** argv) {
114 #define NUM_FRAMES 10
115 #define FRAME_SIZE 1000
return memset(p, 0, total)
GPRAPI void gpr_free(void *ptr)
GRPCAPI grpc_call_error grpc_server_request_registered_call(grpc_server *server, void *registered_method, grpc_call **call, gpr_timespec *deadline, grpc_metadata_array *request_metadata, grpc_byte_buffer **optional_payload, grpc_completion_queue *cq_bound_to_call, grpc_completion_queue *cq_for_notification, void *tag_new)
static void addbuf(const void *data, size_t len)
GRPCAPI void grpc_metadata_array_destroy(grpc_metadata_array *array)
memcpy(mem, inblock.get(), min(CONTAINING_RECORD(inblock.get(), MEMBLOCK, data) ->size, size))
GPRAPI void * gpr_realloc(void *p, size_t size)
GRPCAPI void grpc_call_unref(grpc_call *call)
void cq_verifier_destroy(cq_verifier *v)
int main(int argc, char **argv)
struct grpc_call grpc_call
cq_verifier * cq_verifier_create(grpc_completion_queue *cq)
struct grpc_server grpc_server
static grpc_metadata_array request_metadata_recv
#define CQ_EXPECT_COMPLETION(v, tag, success)
void grpc_run_bad_client_test(grpc_bad_client_server_side_validator server_validator, grpc_bad_client_arg args[], int num_args, uint32_t flags)
static const char prefix[]
GRPCAPI void grpc_byte_buffer_destroy(grpc_byte_buffer *bb)
void cq_verify(cq_verifier *v, int timeout_sec)
static void verifier(grpc_server *server, grpc_completion_queue *cq, void *registered_method)
GRPCAPI void grpc_init(void)
static void * tag(intptr_t t)
GRPCAPI void grpc_shutdown(void)
static grpc_completion_queue * cq
GRPCAPI void grpc_metadata_array_init(grpc_metadata_array *array)
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:01