← Commit list

0bb25cdbb7

Daniel Stenberg
Daniel Stenberg
2025-10-20
SUCCESS Duration: 199s

Subject

curl_easy_setopt.md: add missing CURLOPT_POSTFIELDS

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

docs/libcurl/curl_easy_setopt.md+4 -0
@@ -686,6 +686,10 @@ Port number to connect to. See CURLOPT_PORT(3)
Make an HTTP POST. See CURLOPT_POST(3)
+## CURLOPT_POSTFIELDS
+
+Send a POST with this data - does not copy it. See CURLOPT_POSTFIELDS(3)
+
## CURLOPT_POSTFIELDSIZE
The POST data is this big. See CURLOPT_POSTFIELDSIZE(3)
tests/test1139.pl+1 -1
@@ -90,7 +90,7 @@ sub scanmdpage {
}
}
foreach my $m (@words) {
- my @g = grep(/$m/, @m);
+ my @g = grep(/$m\b/, @m);
if(!$g[0]) {
print STDERR "Missing mention of $m in $file\n";
$errors++;