[PATCH] [BUG] http.c does not follow redirections at all

2003-03-28 Thread Angel Fradejas
Current http.c does not follow 302 Location redirections at all. I tracked down the problem down to the handle_transaction() function. If we leave trans-host and trans-port set there, there will be no parse_url() for the redirection, and the original url is fetched again and again :-(

Re: [PATCH] [BUG] http.c does not follow redirections at all

2003-03-28 Thread Stipe Tolj
Angel Fradejas wrote: Current http.c does not follow 302 Location redirections at all. I tracked down the problem down to the handle_transaction() function. If we leave trans-host and trans-port set there, there will be no parse_url() for the redirection, and the original url is fetched

RE: [PATCH] [BUG] http.c does not follow redirections at all

2003-03-28 Thread Angel Fradejas
I did not test with proxy, to be frank Could you do test that Andreas? /Angel -Mensaje original-De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]En nombre de Andreas FinkEnviado el: viernes 28 de marzo de 2003 16:46Para: [EMAIL PROTECTED]Asunto: Re: [PATCH] [BUG] http.c

Re: [PATCH] [BUG] http.c does not follow redirections at all

2003-03-28 Thread Stipe Tolj
Andreas Fink wrote: Did everyone test this with and without Proxy? While using a proxy is exactly the locatio where the host would stay the same. I have to addmit, no, I didn't test proxy mode. Andreas, can you do this please. The code is already commited. If there are problems please

Re: [PATCH] [BUG] http.c does not follow redirections at all

2003-03-28 Thread Andreas Fink
On Freitag, März 28, 2003, at 04:33 Uhr, Stipe Tolj wrote: Angel Fradejas wrote: Current http.c does not follow 302 Location redirections at all. I tracked down the problem down to the handle_transaction() function. If we leave trans->host and trans->port set there, there will be no