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.

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.

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

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

How can I issue HTTP/0.9 request?
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 UTC

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