cURL / Mailing Lists / curl-library / Single Mail

curl-library

cygwin testsuite hanging

From: David Byron <DByron_at_everdreamcorp.com>
Date: Wed, 8 Dec 2004 15:11:32 -0800

I just built fresh from CVS and I'm having trouble with the test web
server. After a clean and build, I get:

$ ./runtests.pl 1
********* System characteristics ********
* curl 7.12.3-CVS (i686-pc-cygwin)
* libcurl/7.12.3-CVS OpenSSL/0.9.7d zlib/1.2.1
* Features: Debug Largefile NTLM SSL libz
* Host: DByron
* System: CYGWIN_NT-5.1 DByron 1.5.10(0.116/4/2) 2004-05-25 22:07 i686
unknown unknown Cygwin
* Server SSL: ON
* libcurl SSL: ON
* libcurl debug: ON
* valgrind: OFF
* HTTP on port: 8990
* FTP on port: 8992
* FTPS on port: 8993
* HTTPS on port: 8991
*****************************************
test 001...

when I look in the log directory, I see:

$ ls -l
total 3
-rw-r--r-- 1 DByron SYSTEM 0 Dec 8 15:00 curl.log
-rw-r--r-- 1 DByron SYSTEM 176 Dec 8 15:00 server.input
-rw-r--r-- 1 DByron SYSTEM 35 Dec 8 15:00 server.response
-rw-r--r-- 1 DByron SYSTEM 419 Dec 8 15:00 sws.log
-rw-r--r-- 1 DByron SYSTEM 0 Dec 8 15:00 verifiedserver

$ cat server.input
GET /verifiedserver HTTP/1.1
User-Agent: curl/7.12.3-CVS (i686-pc-cygwin) libcurl/7.12.3-CVS
OpenSSL/0.9.7d zlib/1.2.1
Host: 127.0.0.1:8990
Pragma: no-cache
Accept: */*

$ cat server.response
HTTP/1.1 200 OK

WE ROOLZ: 3324

$ cat sws.log
15:00:48 ====> Client connect
15:00:48 Got request: GET /verifiedserver HTTP/1.1
15:00:48 Are-we-friendly question received
15:00:48 Wrote request (176 bytes) input to log/server.input
15:00:48 Send response number -2 part 0
15:00:48 Identifying ourselves as friends
15:00:48 Response sent (35 bytes) and written to log/server.response
15:00:48 special request received, no persistancy
15:00:48 ====> Client disconnect

Note also that there are two instances of curl running as far as ps is
concerned.

I also tried running sws by myself, like this:

$ server/sws 8999 .

and then in another shell running

$ ./curl http://127.0.0.1:8999 --verbose
* About to connect() to 127.0.0.1 port 8999
* Trying 127.0.0.1... * connected
* Connected to 127.0.0.1 (127.0.0.1) port 8999
> GET / HTTP/1.1
User-Agent: curl/7.12.3-CVS (i686-pc-cygwin) libcurl/7.12.3-CVS
OpenSSL/0.9.7d zlib/1.2.1
Host: 127.0.0.1:8999
Pragma: no-cache
Accept: */*

where the client just hangs after that. The only file in the log
directory is sws.log:

$ cat sws.log
15:06:46 ====> Client connect
15:06:46 Got request: GET / HTTP/1.1
15:06:46 Requested test number 0 part 0
15:06:46 Couldn't open test file 0

This is probably unrelated, and probably doesn't matter, but I thought
I'd point it out.

Can anyone shed some light on this?

Thanks much.

-DB
Received on 2004-12-09