Lines Matching refs:glob_opt
72 } 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()
935 CURL_SETOPT(proxy->curl_handle, CURLOPT_TIMEOUT, glob_opt.timeout); in standard_request_handler()
937 if(glob_opt.http10) in standard_request_handler()
947 if(glob_opt.ipv4 && !glob_opt.ipv6) in standard_request_handler()
949 else if(glob_opt.ipv6 && !glob_opt.ipv4) in standard_request_handler()
994 enum SPDY_IO_SUBSYSTEM io = glob_opt.notls ? SPDY_IO_SUBSYSTEM_RAW : SPDY_IO_SUBSYSTEM_OPENSSL; in run()
1010 if(glob_opt.nodelay) in run()
1013 if(NULL == glob_opt.listen_host) in run()
1015 daemon = SPDY_start_daemon(glob_opt.listen_port, in run()
1016 glob_opt.cert, in run()
1017 glob_opt.cert_key, in run()
1033 snprintf (service, sizeof(service), "%u", glob_opt.listen_port); in run()
1038 ret = getaddrinfo(glob_opt.listen_host, service, &hints, &gai); in run()
1045 glob_opt.cert, in run()
1046 glob_opt.cert_key, in run()
1229 if(glob_opt.verbose) in run()
1327 glob_opt.listen_port = atoi(optarg); in main()
1331 glob_opt.listen_host= strdup(optarg); in main()
1332 if(NULL == glob_opt.listen_host) in main()
1337 glob_opt.cert = strdup(optarg); in main()
1341 glob_opt.cert_key = strdup(optarg); in main()
1345 glob_opt.http_backend = strdup(optarg); in main()
1346 if(NULL == glob_opt.http_backend) in main()
1351 glob_opt.notls = true; in main()
1355 glob_opt.verbose = true; in main()
1359 glob_opt.curl_verbose = true; in main()
1363 glob_opt.http10 = true; in main()
1367 glob_opt.nodelay = true; in main()
1371 glob_opt.transparent = true; in main()
1375 glob_opt.ipv4 = true; in main()
1379 glob_opt.ipv6 = true; in main()
1383 glob_opt.timeout = atoi(optarg); in main()
1400 0 == glob_opt.listen_port in main()
1401 || (!glob_opt.notls && (NULL == glob_opt.cert || NULL == glob_opt.cert_key)) in main()