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

"Angel Fradejas" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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 Fink
  Enviado el: viernes 28 de marzo de 2003 16:46
  Para: [email protected]
  Asunto: Re: [PATCH] [BUG] http.c does not follow redirections at all



  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
      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


  Did everyone test this with and without Proxy?
  While using a proxy is exactly the locatio where the host would stay the
same.

  Andreas Fink
  Global Networks Switzerland AG

  ------------------------------------------------------------------
  Tel: +41-61-6666333 Fax: +41-61-6666334 Mobile: +41-79-2457333
  Global Networks, Inc. Clarastrasse 3, 4058 Basel, Switzerland
  Web: http://www.global-networks.ch/  [email protected]
  ------------------------------------------------------------------
  Send SMS to +979 979 UNICEF (+979979864233) to donate 10 euro to
  the children of Iraq. http://www.gni.ch/unicef
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.