Changes between Version 1 and Version 2 of Ticket #1768, comment 3
- Timestamp:
- 2013-07-03T16:55:17Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1768, comment 3
v1 v2 11 11 As I've mentioned before, I really think "responding to disconnect events" is a losing game. To me it smells like "clean shutdown logic" in an app. It tends to be buggy, it is labor-intensive to implement and debug it, and it can never be 100% correct (because shutdowns of an app are sometimes hard and because disconnections of a network are sometimes undetectable). 12 12 13 So my preference for "crash-only programming" in which you don't expend engineering effort trying to design and implement for handling the "clean shutdown" caseis perhaps related to my preference for "crash-only networking", in which you assume that your application won't get a reliable notification of disconnect, and you don't expend engineering effort trying to deliver one.13 So my preference for "crash-only programming" (in which you don't expend engineering effort trying to design and implement the "clean shutdown" case) is perhaps related to my preference for "crash-only networking", in which you assume that your application won't get a reliable notification of disconnect, and you don't expend engineering effort trying to deliver one. 14 14 15 15 So I would be somewhat more interested in removing "respond to disconnect events" features from foolscap and from Tahoe-LAFS (see #816, #1975) than in debugging this. However, I'm definitely not very happy with the current situation, where the unit tests sometimes spuriously (??) fail on Windows due to this probable bug in foolscap.