W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2004

Stall or Delay on Client Side request

From: Scott Derrick <scott@tnstaafl.net>
Date: Thu, 20 May 2004 15:42:08 -0600
Message-Id: <>
To: www-lib@w3.org


I just started using libwww.   version 5.4

I have a client app that continually sends a GET command to an image 
server.  The server responds by immediately sending back a  jpeg image.

This works fine in a java app running in a browser.  Very regular refresh 
of the image. No delays or stalls.

In my application that is using wwwlib, the requests stalls or delays about 
every minute or so for a couple seconds?   The delay is always 2.8 seconds.

The request is a 
GET   command   http://ip_address/support/theimage.jpg  which returns the 
current image that is updated at 25 images per second.

The loop in the app is very simple

***start loop

chunk = HTLoadToChunk(http://...., request);


buffer = HTChunk_data(chunk);


****end loop

I have set the body write delay to 21, 50

I've looked for some other delay setting or garbage collection setting but 
can't find any??

I'm sure I'm missing something really simple?


"Those who sacrifice freedom to get security, deserve neither."
- Benjamin Franklin
Received on Thursday, 20 May 2004 17:53:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:56 UTC