Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 60) sorted by relevance

123

/curl/tests/http/
H A Dtest_07_upload.py64 curl = CurlClient(env=env)
79 curl = CurlClient(env=env)
96 curl = CurlClient(env=env)
114 curl = CurlClient(env=env)
132 curl = CurlClient(env=env)
151 curl = CurlClient(env=env)
171 curl = CurlClient(env=env)
237 curl = CurlClient(env=env)
256 curl = CurlClient(env=env)
272 curl = CurlClient(env=env)
[all …]
H A Dtest_17_ssl_use.py55 curl = CurlClient(env=env)
82 curl = CurlClient(env=env, run_env=run_env)
108 curl = CurlClient(env=env)
123 curl = CurlClient(env=env)
149 curl = CurlClient(env=env)
164 curl = CurlClient(env=env)
211 curl = CurlClient(env=env)
258 curl = CurlClient(env=env)
292 curl = CurlClient(env=env, run_env=run_env)
350 curl = CurlClient(env=env)
[all …]
H A Dconftest.py39 env = Env()
49 if env.have_h3():
53 if env.has_caddy():
57 if env.has_vsftpd():
76 def env(pytestconfig) -> Env: function
84 if env.setup_incomplete():
87 env.setup()
88 return env
97 httpd = Httpd(env=env)
109 nghttpx = NghttpxQuic(env=env)
[all …]
H A Dtest_01_basic.py40 def _class_scope(self, env, nghttpx): argument
41 if env.have_h3():
46 curl = CurlClient(env=env)
55 curl = CurlClient(env=env)
64 curl = CurlClient(env=env)
73 curl = CurlClient(env=env)
82 curl = CurlClient(env=env)
94 curl = CurlClient(env=env)
109 curl = CurlClient(env=env)
122 curl = CurlClient(env=env)
[all …]
H A Dtest_02_download.py65 curl = CurlClient(env=env)
75 curl = CurlClient(env=env)
87 curl = CurlClient(env=env)
100 curl = CurlClient(env=env)
122 curl = CurlClient(env=env)
141 curl = CurlClient(env=env)
155 curl = CurlClient(env=env)
172 curl = CurlClient(env=env)
189 curl = CurlClient(env=env)
200 curl = CurlClient(env=env)
[all …]
H A Dtest_14_auth.py40 def _class_scope(self, env, httpd, nghttpx): argument
41 if env.have_h3():
43 env.make_data_file(indir=env.gen_dir, fname="data-10m", fsize=10*1024*1024)
50 if proto == 'h3' and not env.have_h3():
52 curl = CurlClient(env=env)
60 if proto == 'h3' and not env.have_h3():
62 curl = CurlClient(env=env)
75 curl = CurlClient(env=env)
89 curl = CurlClient(env=env)
110 curl = CurlClient(env=env)
[all …]
H A Dtest_20_websockets.py45 def check_alive(self, env, timeout=5): argument
46 curl = CurlClient(env=env)
65 def ws_echo(self, env): argument
77 assert self.check_alive(env)
82 curl = CurlClient(env=env)
89 client = LocalClient(env=env, name='ws-pingpong')
99 client = LocalClient(env=env, name='ws-pingpong')
108 client = LocalClient(env=env, name='ws-data')
117 client = LocalClient(env=env, name='ws-data')
126 client = LocalClient(env=env, name='ws-data')
[all …]
H A Dtest_19_shutdown.py41 if env.have_h3():
57 if env.ci_run:
59 curl = CurlClient(env=env)
72 if not env.curl_is_debug():
74 curl = CurlClient(env=env, run_env={
89 if not env.curl_is_debug():
92 curl = CurlClient(env=env, run_env={
108 if not env.curl_is_debug():
113 client = LocalClient(name='hx-download', env=env, run_env={
134 curl = CurlClient(env=env, run_env={
[all …]
H A Dtest_06_eyeballs.py39 def _class_scope(self, env, httpd, nghttpx): argument
40 if env.have_h3():
47 def test_06_01_h3_only(self, env: Env, httpd, nghttpx, repeat):
48 curl = CurlClient(env=env)
56 def test_06_02_h3_only(self, env: Env, httpd, nghttpx, repeat):
58 curl = CurlClient(env=env)
67 curl = CurlClient(env=env)
77 curl = CurlClient(env=env)
85 curl = CurlClient(env=env)
94 curl = CurlClient(env=env)
[all …]
H A Dtest_05_errors.py41 def _class_scope(self, env, httpd, nghttpx): argument
42 if env.have_h3():
51 if proto == 'h3' and not env.have_h3():
53 if proto == 'h3' and env.curl_uses_lib('msh3'):
56 curl = CurlClient(env=env)
74 if proto == 'h3' and not env.have_h3():
79 curl = CurlClient(env=env)
96 curl = CurlClient(env=env)
121 if proto == 'h3' and not env.have_h3():
124 curl = CurlClient(env=env)
[all …]
H A Dtest_08_caddy.py45 def caddy(self, env): argument
46 caddy = Caddy(env=env)
77 curl = CurlClient(env=env)
91 curl = CurlClient(env=env)
105 curl = CurlClient(env=env)
128 curl = CurlClient(env=env)
144 curl = CurlClient(env=env)
163 curl = CurlClient(env=env)
185 curl = CurlClient(env=env)
204 curl = CurlClient(env=env)
[all …]
H A Dtest_31_vsftpds.py82 curl = CurlClient(env=env)
94 curl = CurlClient(env=env)
106 curl = CurlClient(env=env)
118 curl = CurlClient(env=env)
132 curl = CurlClient(env=env)
150 curl = CurlClient(env=env)
163 curl = CurlClient(env=env)
185 curl = CurlClient(env=env)
199 curl = CurlClient(env=env)
211 curl = CurlClient(env=env)
[all …]
H A Dtest_18_methods.py39 def _class_scope(self, env, httpd, nghttpx): argument
40 if env.have_h3():
45 env.make_data_file(indir=indir, fname="data-10k", fsize=10*1024)
46 env.make_data_file(indir=indir, fname="data-100k", fsize=100*1024)
47 env.make_data_file(indir=indir, fname="data-1m", fsize=1024*1024)
51 def test_18_01_delete(self, env: Env, httpd, nghttpx, repeat, proto):
52 if proto == 'h3' and not env.have_h3():
55 curl = CurlClient(env=env)
64 def test_18_02_delete_h2_special(self, env: Env, httpd, nghttpx, repeat):
67 curl = CurlClient(env=env)
H A Dtest_30_vsftpd.py45 vsftpd = VsFTPD(env=env)
70 env.make_data_file(indir=env.gen_dir, fname="upload-1k", fsize=1024)
75 curl = CurlClient(env=env)
87 curl = CurlClient(env=env)
99 curl = CurlClient(env=env)
111 curl = CurlClient(env=env)
125 curl = CurlClient(env=env)
143 curl = CurlClient(env=env)
155 curl = CurlClient(env=env)
168 curl = CurlClient(env=env)
[all …]
H A Dtest_10_proxy.py63 curl = CurlClient(env=env)
76 curl = CurlClient(env=env)
100 curl = CurlClient(env=env)
114 curl = CurlClient(env=env)
126 curl = CurlClient(env=env)
137 curl = CurlClient(env=env)
154 curl = CurlClient(env=env)
182 curl = CurlClient(env=env)
213 curl = CurlClient(env=env)
233 curl = CurlClient(env=env)
[all …]
H A Dtest_13_proxy_auth.py42 def _class_scope(self, env, httpd, nghttpx_fwd): argument
43 if env.have_nghttpx():
62 curl = CurlClient(env=env)
69 def test_13_02_proxy_auth(self, env: Env, httpd, repeat):
70 curl = CurlClient(env=env)
82 curl = CurlClient(env=env)
93 curl = CurlClient(env=env)
102 curl = CurlClient(env=env)
111 curl = CurlClient(env=env)
127 curl = CurlClient(env=env)
[all …]
H A Dtest_16_info.py40 def _class_scope(self, env, httpd, nghttpx): argument
41 if env.have_h3():
47 def _class_scope(self, env, httpd): argument
56 if proto == 'h3' and not env.have_h3():
59 curl = CurlClient(env=env)
71 if proto == 'h3' and not env.have_h3():
74 curl = CurlClient(env=env)
87 if proto == 'h3' and not env.have_h3():
90 fdata = os.path.join(env.gen_dir, 'data-100k')
92 curl = CurlClient(env=env)
[all …]
H A Dtest_15_tracing.py40 def test_15_01_trace_defaults(self, env: Env, httpd):
41 curl = CurlClient(env=env)
51 def test_15_02_trace_ids(self, env: Env, httpd):
52 curl = CurlClient(env=env)
64 def test_15_03_trace_ids_time(self, env: Env, httpd):
65 curl = CurlClient(env=env)
77 def test_15_04_trace_all(self, env: Env, httpd):
78 curl = CurlClient(env=env)
96 def test_15_05_trace_all(self, env: Env, httpd):
97 curl = CurlClient(env=env)
H A Dtest_04_stuttered.py42 def _class_scope(self, env, httpd, nghttpx): argument
43 if env.have_h3():
52 if proto == 'h3' and not env.have_h3():
55 curl = CurlClient(env=env)
66 def test_04_02_100_100_10(self, env: Env,
68 if proto == 'h3' and not env.have_h3():
72 curl = CurlClient(env=env)
90 if proto == 'h3' and not env.have_h3():
94 curl = CurlClient(env=env)
112 if proto == 'h3' and not env.have_h3():
[all …]
H A Dtest_12_reuse.py43 def test_12_01_h1_conn_close(self, env: Env,
51 curl = CurlClient(env=env)
63 def test_12_02_h1_conn_timeout(self, env: Env,
71 curl = CurlClient(env=env)
81 def test_12_03_alt_svc_h2h3(self, env: Env, httpd, nghttpx):
86 asfile = os.path.join(env.gen_dir, 'alt-svc-12_03.txt')
92 curl = CurlClient(env=env)
108 asfile = os.path.join(env.gen_dir, 'alt-svc-12_04.txt')
114 curl = CurlClient(env=env)
130 asfile = os.path.join(env.gen_dir, 'alt-svc-12_05.txt')
[all …]
H A Dtest_09_push.py40 def _class_scope(self, env, httpd): argument
44 env.make_data_file(indir=push_dir, fname="data1", fsize=1*1024)
45 env.make_data_file(indir=push_dir, fname="data2", fsize=1*1024)
46 env.make_data_file(indir=push_dir, fname="data3", fsize=1*1024)
47 httpd.set_extra_config(env.domain1, [
64 def test_09_01_h2_early_hints(self, env: Env, httpd, repeat):
65 curl = CurlClient(env=env)
75 def test_09_02_h2_push(self, env: Env, httpd, repeat):
78 client = LocalClient(name='h2-serverpush', env=env)
H A Dtest_03_goaway.py42 def _class_scope(self, env, httpd, nghttpx): argument
43 if env.have_h3():
49 def test_03_01_h2_goaway(self, env: Env, httpd, nghttpx, repeat):
54 curl = CurlClient(env=env)
81 def test_03_02_h3_goaway(self, env: Env, httpd, nghttpx, repeat):
83 if proto == 'h3' and env.curl_uses_lib('msh3'):
85 if proto == 'h3' and env.curl_uses_ossl_quic():
90 curl = CurlClient(env=env)
115 def test_03_03_h1_goaway(self, env: Env, httpd, nghttpx, repeat):
120 curl = CurlClient(env=env)
/curl/tests/libtest/
H A Dfirst.c94 char *env; in memory_tracking_init() local
96 env = curl_getenv("CURL_MEMDEBUG"); in memory_tracking_init()
97 if(env) { in memory_tracking_init()
101 env[CURL_MT_LOGFNAME_BUFSIZE-1] = '\0'; in memory_tracking_init()
102 strcpy(fname, env); in memory_tracking_init()
103 curl_free(env); in memory_tracking_init()
110 env = curl_getenv("CURL_MEMLIMIT"); in memory_tracking_init()
111 if(env) { in memory_tracking_init()
113 long num = strtol(env, &endptr, 10); in memory_tracking_init()
114 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
[all …]
/curl/src/
H A Dtool_main.c107 char *env; in memory_tracking_init() local
109 env = curl_getenv("CURL_MEMDEBUG"); in memory_tracking_init()
110 if(env) { in memory_tracking_init()
114 env[CURL_MT_LOGFNAME_BUFSIZE-1] = '\0'; in memory_tracking_init()
115 strcpy(fname, env); in memory_tracking_init()
116 curl_free(env); in memory_tracking_init()
123 env = curl_getenv("CURL_MEMLIMIT"); in memory_tracking_init()
124 if(env) { in memory_tracking_init()
126 long num = strtol(env, &endptr, 10); in memory_tracking_init()
127 if((endptr != env) && (endptr == env + strlen(env)) && (num > 0)) in memory_tracking_init()
[all …]
/curl/tests/http/testenv/
H A Dnghttpx.py35 from .env import Env
45 self.env = env
49 self._cmd = env.nghttpx
132 curl = CurlClient(env=self.env, run_dir=self._tmp_dir)
155 curl = CurlClient(env=self.env, run_dir=self._tmp_dir)
196 super().__init__(env=env, name='nghttpx-quic', port=env.h3_port,
203 creds = self.env.get_credentials(self.env.domain1)
234 super().__init__(env=env, name='nghttpx-fwd', port=env.h2proxys_port,
241 creds = self.env.get_credentials(self.env.proxy_domain)
263 curl = CurlClient(env=self.env, run_dir=self._tmp_dir)
[all …]

Completed in 37 milliseconds

123