#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <unistd.h>
#include <curl/curl.h>
Go to the source code of this file.
Defines | |
#define | CURLPIPE_MULTIPLEX 0 |
#define | NUM_HANDLES 1000 |
Functions | |
static void | dump (const char *text, int num, unsigned char *ptr, size_t size, char nohex) |
static int | hnd2num (CURL *hnd) |
int | main (int argc, char **argv) |
static int | my_trace (CURL *handle, curl_infotype type, char *data, size_t size, void *userp) |
static void | setup (CURL *hnd, int num) |
Variables | |
void * | curl_hnd [NUM_HANDLES] |
int | num_transfers |
#define CURLPIPE_MULTIPLEX 0 |
Definition at line 41 of file http2-download.c.
#define NUM_HANDLES 1000 |
Definition at line 44 of file http2-download.c.
static void dump | ( | const char * | text, |
int | num, | ||
unsigned char * | ptr, | ||
size_t | size, | ||
char | nohex | ||
) | [static] |
Definition at line 62 of file http2-download.c.
Definition at line 51 of file http2-download.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 184 of file http2-download.c.
static int my_trace | ( | CURL * | handle, |
curl_infotype | type, | ||
char * | data, | ||
size_t | size, | ||
void * | userp | ||
) | [static] |
Definition at line 109 of file http2-download.c.
Definition at line 147 of file http2-download.c.
void* curl_hnd[NUM_HANDLES] |
Definition at line 46 of file http2-download.c.
int num_transfers |
Definition at line 47 of file http2-download.c.