Correct way to terminate requests?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 28 Feb 1999 01:35:23 +0100

What is the correct ways to terminate requests?

* Request complete
* Network failure. Retry the request.
* Server failure. Retry the request on another server (if any).
* Request failure. Do not retry.

I now use the following methods:

Complete:
  fwdComplete
Network failure, server failure:
  fwdFail
  comm_close
Request failure:
  fwdState->flags.dont_retry = 1;
  fwdFail
  comm_close

The question is really when should comm_close be used, and when should
fwdComplete be used? There seems to be a difference in how the request
is retried.

Why doesn't fwdFail terminate the server request?

/Henrik
Received on Tue Jul 29 2003 - 13:15:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:04 MST