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.

yep, seems get_redirection_location() does not what it should do.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.