mirror of
https://github.com/gigablast/open-source-search-engine.git
synced 2024-10-04 20:27:43 +03:00
ease up on max redirects limit. was too low.
This commit is contained in:
parent
00e111a182
commit
d2996bad3a
@ -9513,8 +9513,10 @@ Url **XmlDoc::getRedirUrl() {
|
||||
if ( ! keep ) m_redirError = EDOCTOOMANYREDIRECTS;
|
||||
return &m_redirUrlPtr;
|
||||
}
|
||||
// if we followed too many then bail
|
||||
if ( ++m_numRedirects >= 4 ) {
|
||||
// . if we followed too many then bail
|
||||
// . www.motorolamobility.com www.outlook.com ... failed when we
|
||||
// had >= 4 here
|
||||
if ( ++m_numRedirects >= 5 ) {
|
||||
if ( ! keep ) m_redirError = EDOCTOOMANYREDIRECTS;
|
||||
return &m_redirUrlPtr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user