aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-28 09:11:24 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-28 09:11:24 +0000
commite9b69bc7575cbe4c58e5ad6d53cd3554a7ef176f (patch)
tree39bea194f935a3c806725b2cd2191a64813ee939
parent2aaae10fe8aed38964afc4cf1f9c590e374322e1 (diff)
added maxredirs
-rw-r--r--docs/curl.114
-rw-r--r--docs/curl_easy_setopt.38
2 files changed, 21 insertions, 1 deletions
diff --git a/docs/curl.1 b/docs/curl.1
index d8021a157..e9aad25b6 100644
--- a/docs/curl.1
+++ b/docs/curl.1
@@ -594,6 +594,18 @@ LDAP search failed.
Library not found. The LDAP library was not found.
.IP 41
Function not found. A required LDAP function was not found.
+.IP 42
+Aborted by callback. An application told curl to abort the operation.
+.IP 43
+Internal error. A function was called with a bad parameter.
+.IP 44
+Internal error. A function was called in a bad order.
+.IP 45
+Interface error. A specified outgoing interface could not be used.
+.IP 46
+Bad password entered. An error was signalled when the password was entered.
+.IP 47
+Too many redirects. When following redirects, curl hit the maximum amount.
.IP XX
There will appear more error codes here in future releases. The existing ones
are meant to never change.
@@ -654,6 +666,8 @@ If you do find bugs, mail them to curl-bug@haxx.se.
- Richard Prescott
- Jason S. Priebe <priebe@wral-tv.com>
- T. Bharath <TBharath@responsenetworks.com>
+ - Alexander Kourakos <awk@users.sourceforge.net>
+ - James Griffiths <griffiths_james@yahoo.com>
.SH WWW
http://curl.haxx.se
diff --git a/docs/curl_easy_setopt.3 b/docs/curl_easy_setopt.3
index 99f264673..435742e92 100644
--- a/docs/curl_easy_setopt.3
+++ b/docs/curl_easy_setopt.3
@@ -2,7 +2,7 @@
.\" nroff -man [file]
.\" Written by daniel@haxx.se
.\"
-.TH curl_easy_setopt 3 "22 November 2000" "Curl 7.5" "libcurl Manual"
+.TH curl_easy_setopt 3 "28 November 2000" "Curl 7.5" "libcurl Manual"
.SH NAME
curl_easy_setopt - Set curl easy-session options
.SH SYNOPSIS
@@ -392,6 +392,12 @@ modification date of the remote document in this operation. This requires that
the remote server sends the time or replies to a time querying command. The
curl_easy_getinfo() function with the CURLINFO_FILETIME argument can be used
after a transfer to extract the received time (if any). (Added in 7.5)
+.TP
+.B CURLOPT_MAXREDIRS
+Pass a long. The set number will be the redirection limit. If that many
+redirections have been followed, the next redirect will cause an error. This
+option only makes sense if the CURLOPT_FOLLOWLOCATION is used at the same
+time. (Added in 7.5)
.PP
.SH RETURN VALUE
0 means the option was set properly, non-zero means an error as