Re: bug 1592

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 08 Sep 2006 04:07:44 +0200

tor 2006-09-07 klockan 23:01 +0800 skrev Adrian Chadd:
> > What my stuff does is to forcibly call the abort handlers - which will unwind them top down. It kills the ftpstate, then it kills the forward state through the abort handler. This seems to DTRT in the error case.
>
> .. it does this by calling comm_close(ctrl.fd). Like in 2.6.
>
> How are we meant to do it in -3?

I think for 3.0 we should be similar to 2.6. Protocol registers the
error in fwdState and then closes the connection or otherwise
deassociates the fd from the fwdState.

For 3.1 we may rethink stuff. Find the current (2.6) delay of actual
error propagation a bit odd and hard to follow unless you have already
been down that path once.

Regards
Henrik

Received on Thu Sep 07 2006 - 20:07:55 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:06 MDT