Testcase with very large input for postprocessor. More...
#include "platform.h"
#include "microhttpd.h"
#include "internal.h"
#include <unistd.h>
Go to the source code of this file.
Functions | |
static int | value_checker (void *cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, const char *transfer_encoding, const char *data, uint64_t off, size_t size) |
static int | test_simple_large () |
int | main (int argc, char *const *argv) |
Testcase with very large input for postprocessor.
Definition in file postprocessor_large_test.c.
int main | ( | int | argc, | |
char *const * | argv | |||
) |
Definition at line 97 of file postprocessor_large_test.c.
References test_simple_large().
static int test_simple_large | ( | ) | [static] |
Definition at line 60 of file postprocessor_large_test.c.
References MHD_HTTP_Header::header, MHD_Connection::headers_received, MHD_HTTP_Header::kind, MHD_create_post_processor(), MHD_destroy_post_processor(), MHD_post_process(), RANDOM, MHD_HTTP_Header::value, and value_checker().
Referenced by main().
static int value_checker | ( | void * | cls, | |
enum MHD_ValueKind | kind, | |||
const char * | key, | |||
const char * | filename, | |||
const char * | content_type, | |||
const char * | transfer_encoding, | |||
const char * | data, | |||
uint64_t | off, | |||
size_t | size | |||
) | [static] |
Definition at line 36 of file postprocessor_large_test.c.
Referenced by test_simple_large().