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
#define MAX_CUSTOM_HTTP_HEADER
void http_proxy_close(struct http_proxy_info *hp)
uint8_t * make_base64_string2(const uint8_t *str, int str_len, struct gc_arena *gc)
struct http_proxy_info * http_proxy_new(const struct http_proxy_options *o)
struct http_proxy_options * init_http_proxy_options_once(struct http_proxy_options **hpo, 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)
Wrapper structure for dynamically allocated memory.
Garbage collection arena used to keep track of dynamically allocated memory.
char * proxy_authenticate
const char * http_version
const char * auth_method_string
struct http_custom_header custom_headers[MAX_CUSTOM_HTTP_HEADER]
const char * auth_file_up
SOCKET socket_descriptor_t