Revert "Update to 7.40.1"
[platform/upstream/curl.git] / docs / libcurl / opts / CURLOPT_MAXREDIRS.3
index 34608c3..52d2567 100644 (file)
@@ -39,23 +39,9 @@ Set it to -1 for an infinite number of redirects.
 .SH DEFAULT
 -1, unlimited
 .SH PROTOCOLS
-HTTP(S)
+HTTP
 .SH EXAMPLE
-.nf
-curl = curl_easy_init();
-if(curl) {
-  curl_easy_setopt(curl, CURLOPT_URL, "http://example.com/");
-
-  /* enable redirect following */
-  curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L);
-
-  /* allow three redirects */
-  curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 3L);
-
-  /* Perform the request */
-  curl_easy_perform(curl);
-}
-.fi
+TODO
 .SH AVAILABILITY
 Along with HTTP
 .SH RETURN VALUE