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

curl-and-php

Re: libcurl 7.12 not responding when using a subdomain

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Apr 2006 11:46:00 +0200 (CEST)

On Thu, 20 Apr 2006, Darrell Wu wrote:

> I've installed apache 1.3.34 and php 4.4.2 with curl 7.12 on Fedora core 3.

...

> I know my code works as i've been running the same code on window XP with
> libcurl/7.14.0 OpenSSL/0.9.7c zlib/1.2.3. And i'm unsure why it doesn't work
> on linux.

Well, 7.12.0 != 7.14.0. You should consider upgrading anyway, since both those
versions contain security flaws and bugs we've fixed.

> I've tried running curl from the command line using a url like
> http://www.domain.com and it works fine, but when i try it with a subdomain
> the following happens
>
> curl <subdomain>
> [3] 3374
> [dwu_at_localhost logs]

What is a "subdomain" in your terms? To me it looks like you're using an '&'
and get the job in the background.

> curl: (7) couldn't connect to host.

Then you've either 1= given it a URL with a host it cannot connect to, or 2)
you're experiencing from a curl bug.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-04-20