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

Problem to handle connection problem with a HTTP server

From: Strullu Laurent <Laurent.Strullu@SRIT.siemens.fr>
Date: Thu, 12 Aug 1999 18:46:27 +0200
Message-ID: <679076A067F2D211A8F70090274481B801D6F7@lnn201e.lan.siemens.fr>
To: www-lib@w3.org
Hello world,

Can someone help me?
I'm using HTLoadToChunk() function in non-premptive mode.
When the Http server of the requested URL doesn't respond, 
I enter in a HTDoConnect() infinite loop. I tried to set a timeout
(HTHost_setEventTimeout()) but no event handler is called. You can find
below some tracing information to help your understanding.
What can I do to handle the connection problem.
 
Thanks
Laurent STRULLU
Email :	laurent.strullu@srit.siemens.fr

Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Host Event.. WRITE passed to `http://www.w3.org'
HTDoConnect. WOULD BLOCK `www.w3.org'
Memory Free. 00CA9CE0
Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Timer....... Dispatch timer 00CA9D20
Event....... No event for timer 00CA9D20 with context 00CA9E80
Memory Free. 00CA9D70
Timer....... Found timer 00CA9DB0 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Timer....... Dispatch timer 00CA9DB0
Event....... No event for timer 00CA9DB0 with context 00CA9E80
..........
Timer....... Found timer 00CA9D20 with callback 003659B0, context 00CA9E80,
and relative timeout 10000
Host Event.. WRITE passed to `http://www.w3.org'
HTDoConnect. WOULD BLOCK `www.w3.org'
.......
	 
Received on Thursday, 12 August 1999 12:47:08 UTC

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