Home
last modified time | relevance | path

Searched refs:httpd (Results 1 – 25 of 28) sorted by relevance

12

/curl/tests/http/
H A Dtest_12_reuse.py45 httpd.clear_extra_configs()
46 httpd.set_extra_config('base', [
49 httpd.reload()
65 httpd.clear_extra_configs()
69 httpd.reload()
82 httpd.clear_extra_configs()
83 httpd.reload()
104 httpd.clear_extra_configs()
105 httpd.reload()
126 httpd.clear_extra_configs()
[all …]
H A Dtest_09_push.py40 def _class_scope(self, env, httpd): argument
41 push_dir = os.path.join(httpd.docs_dir, 'push')
47 httpd.set_extra_config(env.domain1, [
58 httpd.reload()
60 httpd.clear_extra_configs()
61 httpd.reload()
64 def test_09_01_h2_early_hints(self, env: Env, httpd, repeat): argument
75 def test_09_02_h2_push(self, env: Env, httpd, repeat): argument
H A Dtest_02_download.py45 def _class_scope(self, env, httpd, nghttpx): argument
48 httpd.clear_extra_configs()
49 httpd.reload()
52 def _class_scope(self, env, httpd): argument
53 indir = httpd.docs_dir
301 httpd.set_extra_config(env.domain1, lines=[
304 assert httpd.stop()
305 if not httpd.start():
308 assert httpd.start()
324 assert httpd.stop()
[all …]
H A Dtest_06_eyeballs.py39 def _class_scope(self, env, httpd, nghttpx): argument
42 httpd.clear_extra_configs()
43 httpd.reload()
47 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat): argument
56 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat): argument
65 def test_06_03_h3_fallback_h2(self, env: Env, httpd, nghttpx, repeat): argument
75 def test_06_04_h3_fallback_h1(self, env: Env, httpd, nghttpx, repeat): argument
84 def test_06_10_stats_success(self, env: Env, httpd, nghttpx, repeat): argument
93 def test_06_11_stats_fail_verify(self, env: Env, httpd, nghttpx, repeat): argument
104 def test_06_12_stats_fail_tcp(self, env: Env, httpd, nghttpx, repeat): argument
H A Dconftest.py96 def httpd(env) -> Generator[Httpd, None, None]: function
97 httpd = Httpd(env=env)
98 if not httpd.exists():
100 httpd.clear_logs()
101 if not httpd.start():
103 yield httpd
104 httpd.stop()
108 def nghttpx(env, httpd) -> Generator[Nghttpx, None, None]: argument
117 def nghttpx_fwd(env, httpd) -> Generator[Nghttpx, None, None]: argument
H A Dtest_18_methods.py39 def _class_scope(self, env, httpd, nghttpx): argument
42 httpd.clear_extra_configs()
43 httpd.reload_if_config_changed()
44 indir = httpd.docs_dir
51 def test_18_01_delete(self, env: Env, httpd, nghttpx, repeat, proto): argument
64 def test_18_02_delete_h2_special(self, env: Env, httpd, nghttpx, repeat): argument
H A Dtest_13_proxy_auth.py42 def _class_scope(self, env, httpd, nghttpx_fwd): argument
45 httpd.clear_extra_configs()
46 httpd.set_proxy_auth(True)
47 httpd.reload()
49 httpd.set_proxy_auth(False)
50 httpd.reload()
61 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument
69 def test_13_02_proxy_auth(self, env: Env, httpd, repeat): argument
92 def test_13_04_proxys_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument
101 def test_13_05_tunnel_http_no_auth(self, env: Env, httpd, repeat): argument
[all …]
H A Dtest_14_auth.py40 def _class_scope(self, env, httpd, nghttpx): argument
44 httpd.clear_extra_configs()
45 httpd.reload()
49 def test_14_01_digest_get_noauth(self, env: Env, httpd, nghttpx, repeat, proto): argument
59 def test_14_02_digest_get_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
71 def test_14_03_digest_put_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
84 def test_14_04_digest_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
101 def test_14_05_basic_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
121 def test_14_06_basic_very_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
H A Dtest_19_shutdown.py40 def _class_scope(self, env, httpd, nghttpx): argument
43 httpd.clear_extra_configs()
44 httpd.reload()
47 def _class_scope(self, env, httpd): argument
48 indir = httpd.docs_dir
56 def test_19_01_check_tcp_rst(self, env: Env, httpd, repeat, proto): argument
71 def test_19_02_check_shutdown(self, env: Env, httpd, repeat, proto): argument
88 def test_19_03_shutdown_by_server(self, env: Env, httpd, repeat, proto): argument
107 def test_19_04_shutdown_by_curl(self, env: Env, httpd, proto, repeat): argument
130 def test_19_05_event_shutdown_by_server(self, env: Env, httpd, proto, repeat): argument
[all …]
H A Dtest_03_goaway.py42 def _class_scope(self, env, httpd, nghttpx): argument
45 httpd.clear_extra_configs()
46 httpd.reload()
49 def test_03_01_h2_goaway(self, env: Env, httpd, nghttpx, repeat): argument
66 assert httpd.reload()
81 def test_03_02_h3_goaway(self, env: Env, httpd, nghttpx, repeat): argument
115 def test_03_03_h1_goaway(self, env: Env, httpd, nghttpx, repeat): argument
135 assert httpd.reload()
H A Dtest_05_errors.py41 def _class_scope(self, env, httpd, nghttpx): argument
44 httpd.clear_extra_configs()
45 httpd.reload()
49 def test_05_01_partial_1(self, env: Env, httpd, nghttpx, repeat, argument
72 def test_05_02_partial_20(self, env: Env, httpd, nghttpx, repeat, argument
95 def test_05_03_required(self, env: Env, httpd, nghttpx, repeat): argument
120 def test_05_04_unclean_tls_shutdown(self, env: Env, httpd, nghttpx, repeat, proto): argument
H A Dtest_01_basic.py45 def test_01_01_http_get(self, env: Env, httpd): argument
54 def test_01_02_https_get(self, env: Env, httpd): argument
63 def test_01_03_h2_get(self, env: Env, httpd): argument
72 def test_01_04_h2_unsupported(self, env: Env, httpd): argument
81 def test_01_05_h3_get(self, env: Env, httpd, nghttpx): argument
91 def test_01_06_timings(self, env: Env, httpd, nghttpx, repeat, proto): argument
106 def test_01_07_head(self, env: Env, httpd, nghttpx, repeat, proto): argument
121 def test_01_08_h2_upgrade(self, env: Env, httpd): argument
133 def test_01_09_h2_prior_knowledge(self, env: Env, httpd): argument
H A Dtest_10_proxy.py42 def _class_scope(self, env, httpd, nghttpx_fwd): argument
43 push_dir = os.path.join(httpd.docs_dir, 'push')
50 httpd.clear_extra_configs()
51 httpd.reload()
62 def test_10_01_proxy_http(self, env: Env, httpd, repeat): argument
94 def test_10_02_proxys_up(self, env: Env, httpd, nghttpx, proto, argument
99 srcfile = os.path.join(httpd.docs_dir, fname)
113 def test_10_03_proxytunnel_http(self, env: Env, httpd, repeat): argument
163 srcfile = os.path.join(httpd.docs_dir, 'data.json')
191 srcfile = os.path.join(httpd.docs_dir, fname)
[all …]
H A Dtest_16_info.py40 def _class_scope(self, env, httpd, nghttpx): argument
43 httpd.clear_extra_configs()
44 httpd.reload()
47 def _class_scope(self, env, httpd): argument
48 indir = httpd.docs_dir
55 def test_16_01_info_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
70 def test_16_02_info_302_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
86 def test_16_03_info_upload(self, env: Env, httpd, nghttpx, proto, repeat): argument
107 def test_16_04_info_http_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
H A Dtest_04_stuttered.py42 def _class_scope(self, env, httpd, nghttpx): argument
45 httpd.clear_extra_configs()
46 httpd.reload()
50 def test_04_01_download_1(self, env: Env, httpd, nghttpx, repeat, argument
67 httpd, nghttpx, repeat, proto): argument
89 def test_04_03_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto): argument
111 def test_04_04_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto): argument
H A Dtest_07_upload.py44 def _class_scope(self, env, httpd, nghttpx): argument
53 httpd.clear_extra_configs()
54 httpd.reload()
180 def test_07_15_hx_put(self, env: Env, httpd, nghttpx, proto): argument
196 def test_07_16_hx_put_reuse(self, env: Env, httpd, nghttpx, proto): argument
212 def test_07_17_hx_post_reuse(self, env: Env, httpd, nghttpx, proto): argument
282 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument
302 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument
336 def test_07_33_issue_11157a(self, env: Env, httpd, nghttpx, repeat): argument
357 def test_07_33_issue_11157b(self, env: Env, httpd, nghttpx, repeat): argument
[all …]
H A Dtest_15_tracing.py40 def test_15_01_trace_defaults(self, env: Env, httpd): argument
51 def test_15_02_trace_ids(self, env: Env, httpd): argument
64 def test_15_03_trace_ids_time(self, env: Env, httpd): argument
77 def test_15_04_trace_all(self, env: Env, httpd): argument
96 def test_15_05_trace_all(self, env: Env, httpd): argument
H A Dtest_17_ssl_use.py42 def _class_scope(self, env, httpd, nghttpx): argument
43 env.make_data_file(indir=httpd.docs_dir, fname="data-10k", fsize=10*1024)
48 def _function_scope(self, request, env, httpd): argument
49 httpd.clear_extra_configs()
51 httpd.reload_if_config_changed()
201 httpd.set_extra_config('base', [
209 httpd.reload_if_config_changed()
275 def test_17_09_ssl_min_max(self, env: Env, httpd, tls_proto, max_ver, min_ver): argument
276 httpd.set_extra_config('base', [
280 httpd.reload_if_config_changed()
[all …]
H A Dtest_11_unix.py102 def test_11_01_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument
113 def test_11_02_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument
124 def test_11_03_unix_connect_quic(self, env: Env, httpd, uds_faker, repeat): argument
H A Dconfig.ini.in28 [httpd] section
30 httpd = @HTTPD@ argument
H A Dscorecard.py742 if args.caddy or args.httpd:
744 test_httpd = args.httpd
750 httpd = None
774 httpd = Httpd(env=env)
775 assert httpd.exists(), \
777 httpd.clear_logs()
779 assert httpd.start()
805 httpd.clear_logs()
806 assert httpd.start()
854 if httpd:
[all …]
H A DMakefile.am34 testenv/httpd.py \
/curl/tests/http/testenv/
H A D__init__.py34 from .httpd import Httpd
H A Denv.py128 self.httpd = self.config['httpd']['httpd']
255 return os.path.isfile(self.httpd) and \
261 if self.httpd is None or len(self.httpd.strip()) == 0:
263 if not os.path.isfile(self.httpd):
570 def httpd(self) -> str: member in Env
571 return self.CONFIG.httpd
/curl/docs/libcurl/opts/
H A DCURLOPT_UNIX_SOCKET_PATH.md65 curl_easy_setopt(curl, CURLOPT_UNIX_SOCKET_PATH, "/tmp/httpd.sock");
79 snprintf(path, sizeof(path), "/proc/self/fd/%d/httpd.sock", dirfd);

Completed in 35 milliseconds

12