]> granicus.if.org Git - curl/commitdiff
CURLOPT_COOKIEFILE.3: "-" as file name means stdin
authorDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2018 12:04:12 +0000 (13:04 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 13 Mar 2018 12:04:12 +0000 (13:04 +0100)
Reported-by: Aron Bergman
Bug: https://curl.haxx.se/mail/lib-2018-03/0049.html

[ci skip]

docs/libcurl/opts/CURLOPT_COOKIEFILE.3

index 457d94470b2284df88c43ceb0ad50819a273018b..fb33e41f07c99f4b4210471b253aac5d148c9725 100644 (file)
@@ -5,7 +5,7 @@
 .\" *                            | (__| |_| |  _ <| |___
 .\" *                             \___|\___/|_| \_\_____|
 .\" *
-.\" * Copyright (C) 1998 - 2017, Daniel Stenberg, <daniel@haxx.se>, et al.
+.\" * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al.
 .\" *
 .\" * This software is licensed as described in the file COPYING, which
 .\" * you should have received as part of this distribution. The terms
@@ -38,7 +38,8 @@ subsequent requests with this handle.
 
 Given an empty or non-existing file or by passing the empty string ("") to
 this option, you can enable the cookie engine without reading any initial
-cookies.
+cookies. If you tell libcurl the file name is "-" (just a single minus sign),
+libcurl will instead read from stdin.
 
 This option only \fBreads\fP cookies. To make libcurl write cookies to file,
 see \fICURLOPT_COOKIEJAR(3)\fP.