Home
last modified time | relevance | path

Searched refs:glob_opt (Results 1 – 6 of 6) sorted by relevance

/external/libmicrohttpd/src/examples/
Dmhd2spdy.c52 if(!glob_opt.statistics) in print_stat()
89 glob_opt.streams_opened = 0; in run_everything()
90 glob_opt.responses_pending = 0; in run_everything()
95 if(init_parse_uri(&glob_opt.uri_preg)) in run_everything()
98 if(NULL != glob_opt.spdy2http_str) in run_everything()
100 ret = parse_uri(&glob_opt.uri_preg, glob_opt.spdy2http_str, &spdy2http_uri); in run_everything()
107 glob_opt.ssl_ctx = SSL_CTX_new(SSLv23_client_method()); in run_everything()
108 if(glob_opt.ssl_ctx == NULL) { in run_everything()
112 spdy_ssl_init_ssl_ctx(glob_opt.ssl_ctx, &glob_opt.spdy_proto_version); in run_everything()
116 glob_opt.listen_port, in run_everything()
[all …]
Dmhd2spdy_spdy.c151 if(glob_opt.ignore_rst_stream in spdy_cb_send()
159 glob_opt.ignore_rst_stream = false; in spdy_cb_send()
162 glob_opt.ignore_rst_stream = false; in spdy_cb_send()
301 ++glob_opt.streams_opened; in spdy_cb_before_ctrl_send()
303 PRINT_INFO2("opening stream: str open %i; %s", glob_opt.streams_opened, proxy->url); in spdy_cb_before_ctrl_send()
308glob_opt.ignore_rst_stream = NULL==spdylay_session_get_stream_user_data(session, frame->rst_stream… in spdy_cb_before_ctrl_send()
311 glob_opt.ignore_rst_stream, in spdy_cb_before_ctrl_send()
375 glob_opt.spdy_data_received = true; in spdy_cb_on_ctrl_recv()
398 --glob_opt.streams_opened; in spdy_cb_on_stream_close()
400 PRINT_INFO2("closing stream: str opened %i; remove proxy %i", glob_opt.streams_opened, proxy->id); in spdy_cb_on_stream_close()
[all …]
Dmhd2spdy_structures.h166 glob_opt; variable
231 if(glob_opt.verbose){\
240 if(glob_opt.verbose){\
259 if(glob_opt.statistics)\
Dmhd2spdy_http.c201 ++glob_opt.responses_pending; in http_cb_request()
262 ret = parse_uri(&glob_opt.uri_preg, proxy->url, &proxy->uri); in http_cb_request()
421 --glob_opt.responses_pending; in http_cb_request_completed()
Dmhd2spdy_structures.c138 glob_opt.global_memory += size; in au_malloc()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c72 } glob_opt; variable
107 if(glob_opt.verbose){\
116 if(glob_opt.verbose){\
879 if(glob_opt.transparent) in standard_request_handler()
881 if(NULL != glob_opt.http_backend) //use always same host in standard_request_handler()
882 ret = asprintf(&(proxy->url),"%s://%s%s", scheme, glob_opt.http_backend, path); in standard_request_handler()
899 if(NULL != glob_opt.http_backend) //use backend host in standard_request_handler()
901 … ret = asprintf(&(proxy->url),"%s://%s%s", uri->scheme, glob_opt.http_backend, uri->path_and_more); in standard_request_handler()
922 if(glob_opt.curl_verbose) in standard_request_handler()
934 if(glob_opt.timeout) in standard_request_handler()
[all …]