Lines Matching +full:apache2 +full:- +full:dev
2 # -*- coding: utf-8 -*-
23 # SPDX-License-Identifier: curl
83 p = subprocess.run(args=[self.curl, '-V'],
86 assert False, f'{self.curl} -V failed with exit code: {p.returncode}'
157 p = subprocess.run(args=[self.nghttpx, '-v'],
165 log.debug(f'nghttpx -v: {p.stdout}')
190 p = subprocess.run(args=[self.vsftpd, '-v'],
199 # vsftp does not use stdout or stderr for printing its version... -.-
210 p = subprocess.run(args=[self.apxs, '-q', 'HTTPD_VERSION'],
221 v = re.sub(r'(\d+\.\d+(\.\d+)?)(-\S+)?', r'\1', v)
236 def is_complete(self) -> bool:
242 def get_incomplete_reason(self) -> Optional[str]:
244 return f'httpd not configured, see `--with-test-httpd=<path>`'
250 return f"command apxs not found (commonly provided in apache2-dev)"
273 def setup_incomplete() -> bool:
277 def incomplete_reason() -> Optional[str]:
281 def have_nghttpx() -> bool:
285 def have_h3_server() -> bool:
289 def have_ssl_curl() -> bool:
293 def have_h2_curl() -> bool:
297 def have_h3_curl() -> bool:
301 def curl_uses_lib(libname: str) -> bool:
305 def curl_uses_ossl_quic() -> bool:
311 def curl_has_feature(feature: str) -> bool:
315 def curl_has_protocol(protocol: str) -> bool:
319 def curl_lib_version(libname: str) -> str:
327 def curl_lib_version_at_least(libname: str, min_version) -> str:
335 def curl_os() -> str:
339 def curl_fullname() -> str:
343 def curl_version() -> str:
347 def curl_is_debug() -> bool:
351 def have_h3() -> bool:
355 def httpd_version() -> str:
359 def nghttpx_version() -> str:
363 def caddy_version() -> str:
367 def caddy_is_at_least(minv) -> bool:
371 def httpd_is_at_least(minv) -> bool:
375 def has_caddy() -> bool:
379 def has_vsftpd() -> bool:
383 def vsftpd_version() -> str:
405 def get_credentials(self, domain) -> Optional[Credentials]:
412 def verbose(self) -> int:
416 def test_timeout(self) -> Optional[float]:
424 def gen_dir(self) -> str:
428 def project_dir(self) -> str:
436 def htdocs_dir(self) -> str:
440 def domain1(self) -> str:
444 def domain1brotli(self) -> str:
448 def domain2(self) -> str:
452 def ftp_domain(self) -> str:
456 def proxy_domain(self) -> str:
460 def http_port(self) -> int:
464 def https_port(self) -> int:
468 def h3_port(self) -> int:
472 def proxy_port(self) -> int:
476 def proxys_port(self) -> int:
480 def ftp_port(self) -> int:
484 def ftps_port(self) -> int:
488 def h2proxys_port(self) -> int:
491 def pts_port(self, proto: str = 'http/1.1') -> int:
496 def caddy(self) -> str:
500 def caddy_https_port(self) -> int:
504 def caddy_http_port(self) -> int:
508 def vsftpd(self) -> str:
512 def ws_port(self) -> int:
516 def curl(self) -> str:
520 def httpd(self) -> str:
524 def apachectl(self) -> str:
528 def apxs(self) -> str:
532 def nghttpx(self) -> Optional[str]:
536 def slow_network(self) -> bool:
541 def ci_run(self) -> bool:
552 def make_data_file(self, indir: str, fname: str, fsize: int) -> str:
558 fd.write(f"{i:09d}-{s}\n")
562 s = f"{i:09d}-{s}\n"