Re: libwww Ver 4.0C - When to Remove HTRequest Object?
To: Vu Nguyen <email@example.com>
Subject: Re: libwww Ver 4.0C - When to Remove HTRequest Object?
From: Henrik Frystyk Nielsen <firstname.lastname@example.org>
Date: Fri, 02 Feb 1996 12:19:10 -0500
Cc: "'email@example.com'" <firstname.lastname@example.org>
From email@example.com Fri Feb 2 12: 19:24 1996
Reply-To: Henrik Frystyk Nielsen <firstname.lastname@example.org>
X-Mailer: exmh version 1.6.2 7/18/95
Vu Nguyen writes:
> When can I remove the HTRequest object which is created by =
Modules in the Library can in some situations create extra request objects that the rest of the Library or the application does not know about. For example, one way of using the POSTWeb mechanism is to pass one request object to the Library and then let the Library take care of the rest. Then the Request manager will create extra request objects and make sure that they are removed again.
However, in this situation, you are in a part of the library where "normal" apps do not come as you are in the HTTP server protocol module. In this case you are responsible for getting rid of the extra request object.
Normally, it is for the application to get rid of requst objects. The rule is that the application can discard a request object as soon as the request has terminated and the last request terminater handler (which is registered by the app) has been called.
Henrik Frystyk Nielsen, <email@example.com>
World-Wide Web Consortium, MIT/LCS NE43-356
545 Technology Square, Cambridge MA 02139, USA