summaryrefslogtreecommitdiff
path: root/docs/libcurl/opts/CURLOPT_USERAGENT.3
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2016-12-21 14:48:35 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-01-13 15:14:55 +0100
commitdbd37938599e705bf57e2965cc007e83a6ff7d9b (patch)
treeb4dc550c09edeae0432ddaceadb88c61fa27c0df /docs/libcurl/opts/CURLOPT_USERAGENT.3
parentd2b2c6385239345fe17ce28410da7fb2f25be49a (diff)
downloadcurl-dbd37938599e705bf57e2965cc007e83a6ff7d9b.tar.gz
docs: Add note about libcurl copying strings to CURLOPT_* manpages
Closes #1169
Diffstat (limited to 'docs/libcurl/opts/CURLOPT_USERAGENT.3')
-rw-r--r--docs/libcurl/opts/CURLOPT_USERAGENT.33
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLOPT_USERAGENT.3 b/docs/libcurl/opts/CURLOPT_USERAGENT.3
index c769e955a..bf58f2bc9 100644
--- a/docs/libcurl/opts/CURLOPT_USERAGENT.3
+++ b/docs/libcurl/opts/CURLOPT_USERAGENT.3
@@ -32,6 +32,9 @@ Pass a pointer to a zero terminated string as parameter. It will be used to
set the User-Agent: header in the HTTP request sent to the remote server. This
can be used to fool servers or scripts. You can also set any custom header
with \fICURLOPT_HTTPHEADER(3)\fP.
+
+The application does not have to keep the string around after setting this
+option.
.SH DEFAULT
NULL, no User-Agent: header is used by default.
.SH PROTOCOLS