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

curl-and-php

Re: Curl PHP weirdness, apache seg fault.

From: John Wards <j.wards_at_sportnetwork.net>
Date: Sat, 18 Sep 2004 15:47:53 +0100

Right I have been debuggin myself on this, here is my verbose output

* About to connect() to www.a-url.com:80
* Connected to www.a-url.com port 80
> POST /home/search/refine.asp HTTP/1.1
Host: www.a-url.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Content-Length: 141
Content-Type: application/x-www-form-urlencoded

* Connection #0 left intact
* Re-using existing connection! (#0)
* Connected to (a-ip) port 80
> POST /home/search/results.asp HTTP/1.1
Host: www.a-url.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Cookie: ASPSESSIONIDCSSBRTRB=DAMONEECCAAJEKBGBBKCOJMG
Content-Length: 417
Content-Type: application/x-www-form-urlencoded

* Connection #0 left intact
* Re-using existing connection! (#0)
* Connected to (a-ip) port 80
> GET
/home/search/results.asp?list=false&fid=0&ord=undefined&bid=1&dbt=1&p=2&asv=undefined&cur=GBP&thu=undefined&vto=undefined&nba=undefined&vtourlist=false
HTTP/1.1
Host: www.a-url.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
Cookie: ASPSESSIONIDCSSBRTRB=NPMONEECLMDBLPLFNGIHDKAG

[Sat Sep 18 14:46:20 2004] [notice] child pid 88789 exit signal Segmentation
fault (11)

I added this line to my script as it was doing a HEAD request which I thought
was the issue but it is still seg faulting.

curl_setopt($ch,CURLOPT_HTTPGET,1);

Any more debugging info would be helpful.

Cheers
John

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Received on 2004-09-18