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

curl-and-php

Re: Curl php problem timeout

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 31 Jul 2003 16:18:29 +0200 (CEST)

On Thu, 31 Jul 2003, Keith Pope wrote:

> Apache/1.3.20 Sun Cobalt (Unix) Chili!Soft-ASP/3.6.2 mod_ssl/2.8.4
> OpenSSL/0.9.6b PHP/4.1.2 mod_auth_pam_external/0.1 FrontPage/4.0.4.3
> mod_perl/1.25
>
> php 4.1.2
>
> and curl libcurl 7.9.4 (OpenSSL 0.9.6g)

7.9.4 is not a good curl version. I very much recommend you to upgrade.

> Iam having problems posting data to a .dll , it timesout when it should
> close the connection.

Are you using the command line tool or the PHP/CURL module? Can you show us
how?

> I thought it could be my version of curl so I installed libcurl 7.10.6 on my
> server and tried using passtru() to run it as a system cmd (as I dont really
> want to have to recompile php) and still it times out when used through a
> browser, it does work when I run it through telnet???

This sounds very strange indeed. What does the command line look like? Have
you tried using -v or --trace to see how far it gets?

> Another strange thing is that when I post data to a .asp page it works
> fine?????

It doesn't matter what kind of server, language or system you post to. That it
was different result here and two different extensions on the server have no
relevance.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
Received on 2003-07-31