Go to the documentation of this file.
31 #define HTTP_AUTH_NONE 0
32 #define HTTP_AUTH_BASIC 1
33 #define HTTP_AUTH_DIGEST 2
35 #define HTTP_AUTH_NTLM2 4
43 #define MAX_CUSTOM_HTTP_HEADER 10
const char * http_version
const char * auth_file_up
const char * auth_method_string
#define MAX_CUSTOM_HTTP_HEADER
Wrapper structure for dynamically allocated memory.
void http_proxy_close(struct http_proxy_info *hp)
char * proxy_authenticate
Garbage collection arena used to keep track of dynamically allocated memory.
struct http_proxy_options * init_http_proxy_options_once(struct http_proxy_options **hpo, struct gc_arena *gc)
SOCKET socket_descriptor_t
struct http_proxy_info * http_proxy_new(const struct http_proxy_options *o)
uint8_t * make_base64_string2(const uint8_t *str, int str_len, struct gc_arena *gc)
bool establish_http_proxy_passthru(struct http_proxy_info *p, socket_descriptor_t sd, const char *host, const char *port, struct event_timeout *server_poll_timeout, struct buffer *lookahead, struct signal_info *sig_info)
uint8_t * make_base64_string(const uint8_t *str, struct gc_arena *gc)
struct http_custom_header custom_headers[MAX_CUSTOM_HTTP_HEADER]