From dbd37938599e705bf57e2965cc007e83a6ff7d9b Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 21 Dec 2016 14:48:35 +0100 Subject: docs: Add note about libcurl copying strings to CURLOPT_* manpages Closes #1169 --- docs/libcurl/opts/CURLOPT_USERAGENT.3 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/libcurl/opts/CURLOPT_USERAGENT.3') 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 -- cgit v1.2.3