W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

Anchors, Event Loop, Callback timeouts

From: Mikhail Grouchinski <mgrouch@usa.net>
Date: 22 Dec 1998 16:46:40 -0000
Message-ID: <19981222164640.12155.qmail@findmail.com>
To: www-lib@w3.org
Hi all,

I have several questions.

1.
How to avoid memory leaks with anchors.
What is the best way of deleting them?
If I use LoadToChunk does it create internal anchors?
If I use FindAnchor then LoadAnchorToChunk
when and how should I delete this Anchor.
My application with LibWWW should work
as a demon without restarts and serve hundreds of
requests simultaneously.

2.
I create request, register callback addAfter,
issue LoadToChunk and parse the data of  
chunk in a callback.
But this callback is called ~30 sec later after
request. If I manually issue the same request (by telnet) reply appears immediately. If I use only 
HTTP/1.0 requests I don't have this timeout

3.
How can I mix in one application simultaneous 
HTTP/1.0 HTTP/1.1 (pipelined and non-pipelined)
requests. The variable ConnectionMode is not 'thread safe' if I change it it reflect other requests that are being processed

4.
How can I issue HTTP/0.9 request?
 
5.
On HP-UX when I install library as shared cc complains on HTextImp.h
struct _HText{};
cannot be empty

Thank you for your help
Received on Tuesday, 22 December 1998 11:46:43 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:26 EDT