Is it advise-able to adjust the RedirectionLimit in ASIHTTPRequest.m?
Why is it a constant and not adjustable (or is it)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have no other way to make your application work, it’s fine to change the limit.
If you are in control of the server and can reduce the number of redirections required that would be the prefered solution, as each redirection will cause a delay in the device receiving the data it’s trying to get for the user.
There isn’t an API to change it, just adjust the value in ASIHTTPRequest.m, RedirectionLimit near the top of the file.