cURL / Mailing Lists / curl-users / Single Mail

curl-users

Test 503 Hanging

From: Ian O'Halloran <iano_at_seewind.com>
Date: Wed, 07 Jan 2004 15:57:16 -0500

Hi,

I ran configure and make successfully on my Solaris box but when I ran
make test I had two problems. First of all, test 503 hangs and secondly
test 504 fails.

bash-2.03# ./runtests.pl -d -k -v 503
********* System characteristics ********
* curl 7.10.8 (sparc-sun-solaris2.8)
* libcurl/7.10.8 OpenSSL/0.9.7b ipv6 zlib/1.1.3
* Host: SATURN
* System: SunOS SATURN 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: OFF
* valgrind: OFF
*****************************************
test 503...CMD; ../src/curl -o log/verifiedserver --silent -i
127.0.0.1:8999/verifiedserver 2>/dev/null
RUN: curl command returned 7
CMD: perl -I. ./httpserver.pl -v 8999 &
RUN: HTTP server is now verified to be our server
* pid http => 4926
[simple multi http:// through proxytunnel with authentication info]
^[./libtest/lib503 http://127.0.0.1:8433/503 localhost:8999
>>log/stdout503 2>>log/stderr503
^[

At this point it hangs forever until I kill it. Nothing is in the
stdout503 log and the stderr503 file contains only URL:
http://127.0.0.1:8433/503

For test 504 the following is the result:

********* System characteristics ********
* curl 7.10.8 (sparc-sun-solaris2.8)
* libcurl/7.10.8 OpenSSL/0.9.7b ipv6 zlib/1.1.3
* Host: SATURN
* System: SunOS SATURN 5.8 Generic_108528-13 sun4u sparc SUNW,UltraAX-i2
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: OFF
* valgrind: OFF
*****************************************
test 504...[simple multi through local proxy without listener]
./libtest/lib504 http://127.0.0.1:8433/504 localhost:55555
>>log/stdout504 2>>log/stderr504
curl returned 0, 100 was expected
 error FAILED
 
 - abort tests
Shutting down test suite servers:
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 504
TESTDONE: 1 tests were considered.

The stderr504 file contains:

URL: http://127.0.0.1:8433/504
curl_multi_perform()
* About to connect() to localhost:55555
running == 1, res == 0
curl_multi_fdset()
select returned 0
* Closing connection #0

How would I go about resolving these issues? I use curl to connect to
several sites and one of these sites (ups.com) consistently hangs. I
believe that 503 may be related to this problem.

Thanks!
Ian O'Halloran
Systems Architect
SeeWind Design

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Received on 2004-01-07