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.py48 httpd.clear_extra_configs()
49 httpd.set_extra_config('base', [
52 httpd.reload()
68 httpd.clear_extra_configs()
72 httpd.reload()
85 httpd.clear_extra_configs()
86 httpd.reload()
107 httpd.clear_extra_configs()
108 httpd.reload()
129 httpd.clear_extra_configs()
[all …]
H A Dconftest.py84 def httpd(env) -> Httpd: function
85 httpd = Httpd(env=env)
86 if not httpd.exists():
88 httpd.clear_logs()
89 if not httpd.start():
91 yield httpd
92 httpd.stop()
96 def nghttpx(env, httpd) -> Optional[Nghttpx]: argument
105 def nghttpx_fwd(env, httpd) -> Optional[Nghttpx]: argument
H A Dtest_02_download.py44 def _class_scope(self, env, httpd, nghttpx): argument
47 httpd.clear_extra_configs()
48 httpd.reload()
51 def _class_scope(self, env, httpd): argument
52 indir = httpd.docs_dir
303 httpd.set_extra_config(env.domain1, lines=[
306 assert httpd.stop()
307 if not httpd.start():
310 assert httpd.start()
326 assert httpd.stop()
[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_18_methods.py43 def _class_scope(self, env, httpd, nghttpx): argument
46 httpd.clear_extra_configs()
47 httpd.reload_if_config_changed()
48 indir = httpd.docs_dir
55 def test_18_01_delete(self, env: Env, httpd, nghttpx, repeat, proto): argument
68 def test_18_02_delete_h2_special(self, env: Env, httpd, nghttpx, repeat): argument
H A Dtest_06_eyeballs.py41 def _class_scope(self, env, httpd, nghttpx): argument
44 httpd.clear_extra_configs()
45 httpd.reload()
49 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat): argument
58 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat): argument
67 def test_06_03_h3_fallback_h2(self, env: Env, httpd, nghttpx, repeat): argument
77 def test_06_04_h3_fallback_h1(self, env: Env, httpd, nghttpx, repeat): argument
86 def test_06_10_stats_success(self, env: Env, httpd, nghttpx, repeat): argument
95 def test_06_11_stats_fail_verify(self, env: Env, httpd, nghttpx, repeat): argument
106 def test_06_12_stats_fail_tcp(self, env: Env, httpd, nghttpx, repeat): argument
H A Dtest_13_proxy_auth.py45 def _class_scope(self, env, httpd, nghttpx_fwd): argument
48 httpd.clear_extra_configs()
49 httpd.set_proxy_auth(True)
50 httpd.reload()
52 httpd.set_proxy_auth(False)
53 httpd.reload()
64 def test_13_01_proxy_no_auth(self, env: Env, httpd, repeat): argument
72 def test_13_02_proxy_auth(self, env: Env, httpd, repeat): argument
95 def test_13_04_proxys_auth(self, env: Env, httpd, nghttpx_fwd, repeat): argument
104 def test_13_05_tunnel_http_no_auth(self, env: Env, httpd, repeat): argument
[all …]
H A Dtest_14_auth.py42 def _class_scope(self, env, httpd, nghttpx): argument
46 httpd.clear_extra_configs()
47 httpd.reload()
51 def test_14_01_digest_get_noauth(self, env: Env, httpd, nghttpx, repeat, proto): argument
61 def test_14_02_digest_get_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
73 def test_14_03_digest_put_auth(self, env: Env, httpd, nghttpx, repeat, proto): argument
86 def test_14_04_digest_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
103 def test_14_05_basic_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
123 def test_14_06_basic_very_large_pw(self, env: Env, httpd, nghttpx, repeat, proto): argument
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_19_shutdown.py44 def _class_scope(self, env, httpd, nghttpx): argument
47 httpd.clear_extra_configs()
48 httpd.reload()
51 def _class_scope(self, env, httpd): argument
52 indir = httpd.docs_dir
60 def test_19_01_check_tcp_rst(self, env: Env, httpd, repeat, proto): argument
75 def test_19_02_check_shutdown(self, env: Env, httpd, repeat, proto): argument
92 def test_19_03_shutdown_by_server(self, env: Env, httpd, repeat, proto): argument
110 def test_19_04_shutdown_by_curl(self, env: Env, httpd, proto, repeat): argument
132 def test_19_05_event_shutdown_by_server(self, env: Env, httpd, proto, repeat): argument
[all …]
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_05_errors.py43 def _class_scope(self, env, httpd, nghttpx): argument
46 httpd.clear_extra_configs()
47 httpd.reload()
51 def test_05_01_partial_1(self, env: Env, httpd, nghttpx, repeat, argument
74 def test_05_02_partial_20(self, env: Env, httpd, nghttpx, repeat, argument
97 def test_05_03_required(self, env: Env, httpd, nghttpx, repeat): argument
122 def test_05_04_unclean_tls_shutdown(self, env: Env, httpd, nghttpx, repeat, proto): 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_07_upload.py43 def _class_scope(self, env, httpd, nghttpx): argument
51 httpd.clear_extra_configs()
52 httpd.reload()
178 def test_07_15_hx_put(self, env: Env, httpd, nghttpx, proto): argument
194 def test_07_16_hx_put_reuse(self, env: Env, httpd, nghttpx, proto): argument
210 def test_07_17_hx_post_reuse(self, env: Env, httpd, nghttpx, proto): argument
280 def test_07_30_put_100k(self, env: Env, httpd, nghttpx, repeat, proto): argument
300 def test_07_31_put_10m(self, env: Env, httpd, nghttpx, repeat, proto): argument
334 def test_07_33_issue_11157a(self, env: Env, httpd, nghttpx, repeat): argument
355 def test_07_33_issue_11157b(self, env: Env, httpd, nghttpx, repeat): argument
[all …]
H A Dtest_16_info.py43 def _class_scope(self, env, httpd, nghttpx): argument
46 httpd.clear_extra_configs()
47 httpd.reload()
50 def _class_scope(self, env, httpd): argument
51 indir = httpd.docs_dir
58 def test_16_01_info_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
73 def test_16_02_info_302_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
89 def test_16_03_info_upload(self, env: Env, httpd, nghttpx, proto, repeat): argument
110 def test_16_04_info_http_download(self, env: Env, httpd, nghttpx, repeat, proto): argument
H A Dtest_04_stuttered.py43 def _class_scope(self, env, httpd, nghttpx): argument
46 httpd.clear_extra_configs()
47 httpd.reload()
51 def test_04_01_download_1(self, env: Env, httpd, nghttpx, repeat, argument
68 httpd, nghttpx, repeat, proto): argument
90 def test_04_03_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto): argument
112 def test_04_04_1000_10_1(self, env: Env, httpd, nghttpx, repeat, proto): argument
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.py49 def _function_scope(self, request, env, httpd): argument
50 httpd.clear_extra_configs()
52 httpd.reload_if_config_changed()
205 …def test_17_07_ssl_ciphers(self, env: Env, httpd, tls_proto, ciphers13, ciphers12, succeed13, succ… argument
207 httpd.set_extra_config('base', [
215 httpd.reload_if_config_changed()
280 def test_17_09_ssl_min_max(self, env: Env, httpd, tls_proto, max_ver, min_ver): argument
281 httpd.set_extra_config('base', [
285 httpd.reload_if_config_changed()
H A Dtest_11_unix.py99 def test_11_01_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument
110 def test_11_02_unix_connect_http(self, env: Env, httpd, uds_faker, repeat): argument
121 def test_11_03_unix_connect_quic(self, env: Env, httpd, uds_faker, repeat): argument
H A Dscorecard.py56 self.httpd = httpd
223 if self.httpd:
380 if self.httpd:
472 if self.httpd:
818 if args.caddy or args.httpd:
820 test_httpd = args.httpd
826 httpd = None
835 httpd.clear_logs()
847 card = ScoreCard(env=env, httpd=httpd if test_httpd else None,
875 if httpd:
[all …]
H A Dconfig.ini.in28 [httpd] section
30 httpd = @HTTPD@ argument
H A DMakefile.am34 testenv/httpd.py \
/curl/tests/http/testenv/
H A D__init__.py34 from .httpd import Httpd
H A Denv.py124 self.httpd = self.config['httpd']['httpd']
240 return os.path.isfile(self.httpd) and \
246 if self.httpd is None or len(self.httpd.strip()) == 0:
248 if not os.path.isfile(self.httpd):
531 def httpd(self) -> str: member in Env
532 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 79 milliseconds

12