cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

core dump on long 1-line page

From: Roger Collins <roger_at_proproject.com>
Date: Thu, 9 May 2002 17:44:12 -0400

Hi,

I'm using curl and php to download pages for Watch It.
I've come across one page that causes a core dump everytime using the latest
versions of PHP and curl.
The HTML is all on a single line (without even a newline at the end of it)
with many carriage returns by themselves.

The page downloads fine using curl from the command line.

I was reproducing this problem on both Linux and FreeBSD, but when I
upgraded to the latest PHP (4.1.2), the problem went away on Linux (RH 7.0)
but not FreeBSD (4.4), which is my more important web hosting server.

I'll be glad to send you a URL and some code if anyone wants to look into
it.

Best regards,
Roger

--
Watch It monitors your favorite web pages and sends you email when they
change.  It keeps you informed, saves valuable time, and it is free!
http://www.watchit.us
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth_at_sourceforge.net
Received on 2002-05-10