]> git.eshelyaron.com Git - emacs.git/commitdiff
(url-max-redirections): New var.
authorChong Yidong <cyd@stupidchicken.com>
Fri, 13 Apr 2007 14:52:03 +0000 (14:52 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 13 Apr 2007 14:52:03 +0000 (14:52 +0000)
lisp/url/url-vars.el

index 705eb9470016b94f13f4ffeb12b960471ae8334a..d0bd9a84c0590758b731ab10d085fa7e1a58b98c 100644 (file)
@@ -320,6 +320,12 @@ undefined."
   "\\`\\([-a-zA-Z0-9+.]+:\\)"
   "A regular expression that will match an absolute URL.")
 
+(defcustom url-max-redirections 30
+  "*The maximum number of redirection requests to honor in a HTTP connection.
+A negative number means to honor an unlimited number of redirection requests."
+  :type 'integer
+  :group 'url)
+
 (defcustom url-confirmation-func 'y-or-n-p
   "*What function to use for asking yes or no functions.
 Possible values are `yes-or-no-p' or `y-or-n-p', or any function that