- From: Richard Atterer <jan2003@nospam.atterer.net>
- Date: Sat, 25 Jan 2003 06:51:21 -0500 (EST)
- To: www-lib@w3.org
On Fri, Jan 24, 2003 at 02:45:36PM -0600, Tanmay Patwardhan wrote:
> But, when the web server is not running at all, and I try to POST to a URL,
> then the status returned from status = HTPostAnchor(src, dst, request) is 1
> and libww goes into the following loop infinitely.
> if (status == YES)
> {
> HTEventList_loop(request);
> }
>
> Whats the best way to catch this error?
Hm, the way I handle errors in my application is with an "after filter",
registered with:
HTNet_addAfter(myAfterFilter, NULL /*template*/, 0 /*param*/,
HT_ALL, HT_FILTER_MIDDLE);
Cheers,
Richard
--
__ _
|_) /| Richard Atterer | CS student at the Technische | GnuPG key:
| \/¯| http://atterer.net | Universität München, Germany | 0x888354F7
¯ '` ¯
Received on Monday, 27 January 2003 04:52:37 UTC