Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 227) sorted by relevance

12345678910

/curl/tests/http/testenv/
H A Dhttpd.py248 f'StartServers 4',
251 f'H2Direct on',
277 f'</VirtualHost>',
278 f'',
295 f'',
313 f'',
329 f'',
343 f'',
360 f'',
380 f' </Proxy>',
[all …]
H A Dnghttpx.py168 fd.write(f'# nghttpx test config'),
188 f'--log-level=INFO',
189 f'--pid-file={self._pid_file}',
191 f'--conf={self._conf_file}',
192 f'--cacert={self.env.ca.cert_file}',
195 f'--frontend-http3-window-size=1M',
219 f'--http2-proxy',
222 f'--log-level=INFO',
223 f'--pid-file={self._pid_file}',
225 f'--conf={self._conf_file}',
[all …]
H A Dvsftpd.py124 f'{self._conf_file}',
185 f'listen=YES',
189 f'local_enable=NO',
190 f'anonymous_enable=YES',
192 f'dirmessage_enable=YES',
193 f'write_enable=YES',
195 f'log_ftp_protocol=YES',
196 f'xferlog_enable=YES',
199 f'\n',
204 f'ssl_enable=YES',
[all …]
H A Dcaddy.py148 'server': f'{domain1}',
153 f'{{',
154 f' http_port {self.env.caddy_http_port}',
155 f' https_port {self.env.caddy_https_port}',
157 f' protocols h3 h2 h1',
158 f' }}',
159 f'}}',
161 f' file_server * {{',
162 f' root {self._docs_dir}',
163 f' }}',
[all …]
/curl/tests/
H A Dtestcurl.pl270 close($f);
317 close($f);
479 close($f);
503 close($f);
580 close($f);
586 while (<$f>) {
589 close($f);
646 close($f);
665 close($f);
690 close($f);
[all …]
H A Dtest1140.pl39 my @f = @ARGV;
58 my ($f) = @_;
59 open(my $fh, "<", "$f") ||
60 die "test1140.pl could not open $f";
68 print "error: $f:$line: double-highlight\n";
72 print "error: $f:$line: missing \\fP after $str\n";
79 print "error: $f:$line: referring to non-existing man page $man\n";
83 print "error: $f:$line: use \\fI before $str\n";
89 print "error: $f:$line: non-referencing $1\n";
108 foreach my $f (@f) {
[all …]
H A Dtest1175.pl38 open(my $f, "<", "$root/docs/libcurl/libcurl-errors.3");
39 while(<$f>) {
50 close($f);
54 open(my $f, "<", "$root/docs/libcurl/symbols-in-versions");
55 while(<$f>) {
66 close($f);
H A Ddirectories.pm263 my %f = %$_;
264 if ($f{'name'} eq $file) {
265 if($f{'content'}) {
266 return length $f{'content'};
268 elsif ($f{'type'} ne "d"){
286 my %f = %$_;
287 if ($f{'name'} eq $file) {
288 if($f{'content'}) {
289 return (length $f{'content'}, $f{'content'});
291 elsif (!exists($f{'type'}) or $f{'type'} ne "d"){
H A Dtest1275.pl38 my ($f) = @_;
39 chomp $f;
40 if($f !~ /\.md\z/) {
43 open(my $fh, "<", "$f");
74 "$f:$l:$c:error: lowercase $word after period\n";
96 "$f:$l:$c:error: lowercase $word after period\n";
110 for my $f (@m) {
111 checkfile($f);
/curl/tests/http/
H A Dtest_17_ssl_use.py87 f'id=[0-{count-1}]&close'
97 with open(dfile) as f:
98 djson = json.load(f)
113 domain = f'{env.domain1}.'
116 assert r.exit_code == 0, f'{r}'
117 assert r.json, f'{r}'
130 domain = f'{env.domain1}..'
156 domain = f'127.0.0.1'
160 assert r.json, f'{r}'
171 domain = f'localhost'
[all …]
H A Dtest_09_push.py48 f'H2EarlyHints on',
49 f'<Location /push/data1>',
50 f' H2PushResource /push/data2',
51 f'</Location>',
52 f'<Location /push/data2>',
53 f' H2PushResource /push/data1',
54 f' H2PushResource /push/data3',
55 f'</Location>',
70 assert len(r.responses) == 2, f'{r.responses}'
71 assert r.responses[0]['status'] == 103, f'{r.responses}'
[all …]
H A Dscorecard.py70 self.info(f'TLS Handshake\n')
77 self.info(f'{ipv}...')
85 f'--{ipv}', f'https://{authority}/'
128 self.info(f'single...')
155 self.info(f'serial...')
183 self.info(f'parallel...')
217 self.info(f'ok.\n')
248 descr = f'port {port}'
295 self.info(f' {url}: ')
307 self.info(f'ok.\n')
[all …]
H A Dtest_16_info.py93 r = curl.http_upload(urls=[url], data=f'@{fdata}', alpn_proto=proto,
107 url = f'http://{env.domain1}:{env.http_port}/data.json?[0-{count-1}]'
127 assert key in s, f'stat "{key}" missing: {s}'
128 assert s[key] > 0, f'stat "{key}" not positive: {s}'
131 assert key in s, f'stat "{key}" missing: {s}'
132 assert s[key] == 0, f'stat "{key}" not zero: {s}'
158 assert s[key] < s['time_pretransfer'], f'time "{key}" larger than' \
159 f'"time_pretransfer": {s}'
162 f'greater than "time_starttransfer", {s}'
164 assert s['time_starttransfer'] <= s['time_total'], f'"time_starttransfer" '\
[all …]
H A Dtest_05_errors.py59 urln = f'https://{env.authority_for(env.domain1, proto)}' \
60 f'/curltest/tweak?id=[0-{count - 1}]'\
70 assert len(invalid_stats) == 0, f'failed: {invalid_stats}'
82 urln = f'https://{env.authority_for(env.domain1, proto)}' \
83 f'/curltest/tweak?id=[0-{count - 1}]'\
89 assert len(r.stats) == count, f'did not get all stats: {r}'
94 assert len(invalid_stats) == 0, f'failed: {invalid_stats}'
100 urln = f'https://{env.authority_for(env.domain1, proto)}/curltest/1_1'
105 urln = f'https://{env.authority_for(env.domain1, proto)}/curltest/1_1'
127 url = f'https://{env.authority_for(env.domain1, proto)}'\
[all …]
/curl/scripts/
H A Dmanagen132 my ($lvl, $f) = @_;
133 $f =~ s/\n/ /g;
765 print "$f\n";
775 my ($dir, $f)=@_;
776 $f =~ s/^.*\///;
885 my $long = $f;
1035 my $f = $_;
1036 chomp $f;
1037 if($f =~ /^#/) {
1057 my ($f) = @_;
[all …]
H A Dcd2nroff191 my ($f)=@_;
204 if(defined($f)) {
205 if(!open($fh, "<:crlf", "$f")) {
211 $f = "STDIN";
277 print STDERR "ERROR: no 'Title:' in $f\n";
281 print STDERR "ERROR: no 'Section:' in $f\n";
334 print STDERR "$f:$line:1:ERROR: no header present\n";
344 $f =~ s/^(.*[\\\/])//;
496 $title = $f;
517 for my $f (@ARGV) {
[all …]
H A Dcopyright.pl49 my ($f) = @_;
52 open(F, "<$f") || return -1;
151 for my $f (@files) {
152 chomp $f;
153 if($f =~ /\.gitignore\z/) {
157 if($skiplist{$f}) {
158 print STDERR "$f already skipped at $skiplist{$f}\n";
186 for my $f (@all) {
187 chomp $f;
192 if($skiplist{$f}) {
[all …]
H A Dcd2cd80 my ($f)=@_;
87 open(F, "<:crlf", "$f") ||
115 print STDERR "$f:$line:1:ERROR: bad See-Also, needs list\n";
137 print STDERR "ERROR: no 'Title:' in $f\n";
141 print STDERR "ERROR: no 'Section:' in $f\n";
145 print STDERR "$f:$line:1:ERROR: no 'See-also:' present\n";
149 print STDERR "$f:$line:1:ERROR: no 'C:' field present\n";
160 print STDERR "WARN: unrecognized line in $f, ignoring:\n:'$_';"
165 print STDERR "$f:$line:1:ERROR: no header present\n";
200 print STDERR "$f:$line:1:WARN: excessive line length\n";
[all …]
/curl/packages/vms/
H A Dbuild_libcurl_pc.com38 $ base = f$element(1, "-", kit_name)
39 $ product = f$element(2, "-", kit_name)
47 $ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
51 $ if f$search(pc_file_in) .eqs. ""
54 $ if f$search(pc_file_in) .eqs. ""
65 $ if (f$getsyi("HW_MODEL") .lt. 1024)
70 $ arch_name = arch_name + f$edit(f$getsyi("ARCH_NAME"), "UPCASE")
80 $ key = f$element(0, " ", line_in)
82 $ name = f$element(1, " ", line_in)
107 $ key = f$extract(0, 1, line_in)
[all …]
H A Dbuild_gnv_curl_pcsi_desc.com73 $ base = f$element(1, "-", kit_name)
74 $ product = f$element(2, "-", kit_name)
76 $ majorver = f$extract(0, 3, mmversion)
82 $ kit_type = f$edit(f$extract(0, 1, majorver), "upcase")
116 $ arch_type = f$getsyi("ARCH_NAME")
118 $ vernum = f$extract(1, f$length(node_swvers), node_swvers)
119 $ majver = f$element(0, ".", vernum)
125 $ code = f$extract(0, 1, arch_type)
353 $ if f$locate("$", pathname) .lt. f$length(pathname) then goto inst_file_loop
415 $ filetype = f$edit(f$parse(filename,,,"TYPE"), "upcase")
[all …]
H A Dbuild_gnv_curl_pcsi_text.com53 $ producer = f$element(0, "-", kit_name)
54 $ base = f$element(1, "-", kit_name)
55 $ product = f$element(2, "-", kit_name)
57 $ majorver = f$extract(0, 3, mmversion)
58 $ minorver = f$extract(3, 2, mmversion)
76 $ if f$search("[--]readme.") .nes. ""
89 $ if f$search("[--]copying.") .nes. ""
166 $ arch_type = f$getsyi("ARCH_NAME")
168 $ vernum = f$extract(1, f$length(node_swvers), node_swvers)
169 $ majver = f$element(0, ".", vernum)
[all …]
H A Dpcsi_product_gnv_curl.com25 $ default_dir = f$environment("DEFAULT")
32 $ producer = f$trnlnm("GNV_PCSI_PRODUCER")
65 $ arch_name = f$edit(f$getsyi("arch_name"),"UPCASE")
70 $ if f$search(libfile) .nes. ""
76 $ if f$search(libfile) .nes. ""
95 $ arch_type = f$getsyi("ARCH_NAME")
96 $ arch_code = f$extract(0, 1, arch_type)
116 $ producer = f$element(0, "-", kit_name)
117 $ base = f$element(1, "-", kit_name)
120 $ majorver = f$extract(0, 3, mmversion)
[all …]
/curl/docs/examples/
H A Dadddocsref.pl30 for $f (@ARGV) {
31 open(NEW, ">$f.new");
32 open(F, "<$f");
56 system("mv $f $f.org");
57 system("mv $f.new $f");
H A Dsftpuploadresume.c36 FILE *f = (FILE *)stream; in readfunc() local
39 if(ferror(f)) in readfunc()
42 n = fread(ptr, size, nmemb, f) * size; in readfunc()
82 FILE *f = NULL; in sftpResumeUpload() local
91 f = fopen(localpath, "rb"); in sftpResumeUpload()
92 if(!f) { in sftpResumeUpload()
100 curl_easy_setopt(curlhandle, CURLOPT_READDATA, f); in sftpResumeUpload()
103 _fseeki64(f, remoteFileSizeByte, SEEK_SET); in sftpResumeUpload()
105 fseek(f, (long)remoteFileSizeByte, SEEK_SET); in sftpResumeUpload()
110 fclose(f); in sftpResumeUpload()
/curl/tests/certs/
H A DServer-localhost-sv.crt22 5e:6f:6f:db:f4:c9:4b:7e:6c:2a:cf:34:7b:2a:ba:
23 1a:71:ad:7f:78:6c:f7:1e:ca:07:d0:29:03:49:e4:
24 63:86:4c:f6:67:3f:bd:32:69:cb:b8:15:e7:0e:cf:
25 28:3d:9e:96:91:8e:4f:73:a9:27:77:4c:26:61:cd:
37 c2:00:cb:ef:7f:d7:9f:89:c9:ff:c0:b9:72:59:4c:
60 67:ef:ad:8f:fa:ee:f1:fd:33:67:62:06:5f:09:55:7c:cf:82:
62 b2:18:d7:63:34:63:f4:1f:50:c7:0e:13:d9:bc:3b:73:3d:41:
68 0d:eb:01:95:fc:ac:0f:b5:34:a4:5f:35:5c:68:63:50:5a:69:
70 9e:6f:f8:3c:6f:cd:af:7f:de:0d:87:55:ae:39:b3:b2:f5:4f:
71 47:79:1f:32:ee:ae:8f:32:dc:88:30:cd:38:6c:4b:28:55:c3:
[all …]

Completed in 46 milliseconds

12345678910