curl-library
Re: error fetching page on redirect to relative url
Date: Thu, 12 Jul 2007 18:10:48 -0700
On Thu, Jul 12, 2007 at 08:47:16PM -0400, Wing Yung wrote:
> I have run into trouble getting libcurl to follow a redirect. When the
> page is reached and the 301 is received, libcurl hangs. The page in
> question is:
>
> http://www.etoys.com/HelpSectionTitlesAndUrls.html
>
> This is the location that is returned:
>
> Location:
> /HelpSectionTitlesAndUrls.html?_e=4696c&_v=4696C98B0HgKa85CF6D20202
This works fine for me in 7.16.2. It's unlikely due to the illegal Location:
being returned. It may be related to persistent connections. Are you
using a proxy server? What happens if you force a HTTP/1.0 request? Is
libcurl hanging on that new URL or is it looping? Are you using pipelining
or the multi interface? Posting your source code would help diagnose
the problem.
>>> Dan
-- http://www.MoveAnnouncer.com The web change of address service Let webmasters know that your web site has movedReceived on 2007-07-13