mirror of
https://github.com/curl/curl.git
synced 2026-08-26 14:23:32 +03:00
redirect: store the "would redirect to" URL when max redirs is reached
Test 1261 added to verify. Reported-by: Lloyd Fournier Fixes #1489 Closes #1497
This commit is contained in:
parent
48f2a96a60
commit
bba59073c5
5 changed files with 94 additions and 38 deletions
|
|
@ -65,9 +65,9 @@ The result of the HTTPS proxy's SSL peer certificate verification that was
|
|||
requested. 0 means the verification was successful. (Added in 7.52.0)
|
||||
.TP
|
||||
.B redirect_url
|
||||
When an HTTP request was made without --location to follow redirects, this
|
||||
variable will show the actual URL a redirect \fIwould\fP take you to. (Added
|
||||
in 7.18.2)
|
||||
When an HTTP request was made without --location to follow redirects (or when
|
||||
--max-redir is met), this variable will show the actual URL a redirect
|
||||
\fIwould\fP have gone to. (Added in 7.18.2)
|
||||
.TP
|
||||
.B remote_ip
|
||||
The remote IP address of the most recently done connection - can be either
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue