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

curl-and-php

Re: Unable to get cURL/https + mod_chroot to work

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Apr 2007 22:26:22 +0200 (CEST)

On Wed, 25 Apr 2007, hanji wrote:

> All tests were performed after apache restarts to ensure that libs were
> loaded, etc

Can you run command line tool from within the jail? If so, try php and curl
stand-lone - if nothing else it'll ease your debugging.

> net-misc/curl-7.15.1-r1

Do note that this is fairly old by now.

> When I execute the following curl test script (URLs and IPs have been
> altered for this mailing list) the script will 'hang' forever without
> completing. If I remove mod_chroot, then everything works as expected.

[...]

> 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> 13230 waitpid(-1, 0xbf9f96d8, WNOHANG|WSTOPPED) = 0
> 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)
> 13230 waitpid(-1, 0xbf9f96d8, WNOHANG|WSTOPPED) = 0
> 13230 select(0, NULL, NULL, NULL, {1, 0}) = 0 (Timeout)

This select() series is mighty weird. It waits for nothing with a 1 second
timeout...

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