W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

POST connection never times out on Win32

From: John J. Barton <John_Barton@hpl.hp.com>
Date: Wed, 08 Sep 1999 14:07:39 -0700
Message-Id: <4.1.19990908135628.012c2080@hplex3.hpl.hp.com>
To: www-lib@w3.org
Hi. I've built libwww on Win98 with VC++ 6.0.  When I try
to POST I hang unless the server is alive and kicking.
How can I get timeouts?  I tried:
     HTHost_setEventTimeout(wait_for);
but nothing happens.  I tried comline with -timeout 1
and it also hangs.  If I turn on the trace I get
...
HTHost 00F0F8B0 going to state TCP_NEED_CONNECT.
HTDoConnect. WOULD BLOCK `antarctica'
Host Event.. WRITE passed to `http://antarctica:8700'
HTDoConnect. WOULD BLOCK `antarctica'
Host Event.. WRITE passed to `http://antarctica:8700'
(repeats until I get bored)

I built with these flags set:
_MBCS,_USRDLL,WWWCORE_EXPORTS,_WINDOWS,WWW_WIN_DLL,WIN32,_DEBUG,WWW_WIN_ASYNC

I think the last one is a message, but I cannot decode it.

Any hints?

Thanks,
John

______________________________________________________
John J. Barton          email:  John_Barton@hpl.hp.com
http://www.hpl.hp.com/personal/John_Barton/index.htm
MS 1U-17  Hewlett-Packard Labs                                    
1501 Page Mill Road              phone: (650)-236-2888 
Palo Alto CA  94304-1126         FAX:   (650)-857-5100
Received on Wednesday, 8 September 1999 17:05:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:15:17 UTC