Re: [PATCH] [BUG] http.c does not follow redirections at all
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | Wapme Systems AG |
| Message-ID | <[email protected]> |
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 > again and again :-( > > Attached is a patch that fixes it. > > I've created a bug report in mantis anyway. yep, +1, will commit to cvs. Thanks a lot. Stipe [email protected] ------------------------------------------------------------------- Wapme Systems AG Vogelsanger Weg 80 40470 Düsseldorf Tel: +49-211-74845-0 Fax: +49-211-74845-299 E-Mail: [email protected] Internet: http://www.wapme-systems.de ------------------------------------------------------------------- wapme.net - wherever you are