Go to the source code of this file.
|
| static int | basic_get_contains_test (char *url, char *contains) |
| |
| static int | basic_get_multithreaded_stress_test (char *url, char *contains) |
| |
| static void | cleanup_libcurl () |
| |
| static void | cleanup_tests () |
| |
| static size_t | data_from_curl (char *buffer, size_t buffer_size, size_t nmemb, char **userdata) |
| |
| static void | exit_cb (EV_P_ ev_async *watcher, int revents) |
| |
| static void | exit_handler (int sig) |
| |
| static void * | get_mt_loop (void *args) |
| |
| static void | init_libcurl () |
| |
| static void | init_tests () |
| |
| int | main (int argc, char *argv[]) |
| |
| static int | on_receive (hpd_ws_t *instance, hpd_ws_conn_t *conn, void *ctx, void **data, const char *buf, size_t len) |
| |
| static void | set_bad_multithreaded_result () |
| |
| static char * | simple_get_request (char *url) |
| |
| static int | test_thread () |
| |
| static void * | webserver_thread (void *arg) |
| |
Definition at line 38 of file load_test.c.
| Data Fields |
|
unsigned long |
assaults |
|
|
char * |
contains |
|
|
char * |
url |
|
| static int basic_get_contains_test |
( |
char * |
url, |
|
|
char * |
contains |
|
) |
| |
|
static |
| static int basic_get_multithreaded_stress_test |
( |
char * |
url, |
|
|
char * |
contains |
|
) |
| |
|
static |
| static void cleanup_libcurl |
( |
| ) |
|
|
static |
| static void cleanup_tests |
( |
| ) |
|
|
static |
| static size_t data_from_curl |
( |
char * |
buffer, |
|
|
size_t |
buffer_size, |
|
|
size_t |
nmemb, |
|
|
char ** |
userdata |
|
) |
| |
|
static |
| static void exit_cb |
( |
EV_P_ ev_async * |
watcher, |
|
|
int |
revents |
|
) |
| |
|
static |
| static void exit_handler |
( |
int |
sig | ) |
|
|
static |
| static void* get_mt_loop |
( |
void * |
args | ) |
|
|
static |
| static void init_libcurl |
( |
| ) |
|
|
static |
| static void init_tests |
( |
| ) |
|
|
static |
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
| static int on_receive |
( |
hpd_ws_t * |
instance, |
|
|
hpd_ws_conn_t * |
conn, |
|
|
void * |
ctx, |
|
|
void ** |
data, |
|
|
const char * |
buf, |
|
|
size_t |
len |
|
) |
| |
|
static |
| static void set_bad_multithreaded_result |
( |
| ) |
|
|
static |
| static char* simple_get_request |
( |
char * |
url | ) |
|
|
static |
| static int test_thread |
( |
| ) |
|
|
static |
| static void* webserver_thread |
( |
void * |
arg | ) |
|
|
static |
| struct ev_async exit_watcher |
|
static |
| int multithreaded_results |
|
static |