Mercurial > noffle
diff ChangeLog @ 188:f1bacee93ca6 noffle
[svn] * src/client.c,src/client.h,src/fetch.c,src/noffle.c,src/server.c:
robustness - instead of retruning simple Passed/Failed statuses from
connection functions, return an integer status instead. This allows
Noffle to distinguish between a connection failure, an unrecoverable
protocol error and a recoverable problem. As a concrete instance, Noffle
will no longer abort the connection if a group is removed from the
upstream server. Also beef up error detection a bit.
* src/content.c: instead of overwriting the existing content file(s) when
updating - which leaves a window where Noffle is vulnerable to failure
which will leave the content file corrupted (yes, it happened to me),
write a new content file and rename it over the old file only when it
has been written and closed with no errors reported.
author | bears |
---|---|
date | Wed, 12 Sep 2001 21:33:44 +0100 |
parents | 166008a80f03 |
children | b1b6963fdd63 |
line wrap: on
line diff
--- a/ChangeLog Sat Sep 01 16:57:45 2001 +0100 +++ b/ChangeLog Wed Sep 12 21:33:44 2001 +0100 @@ -1,3 +1,18 @@ +Wed Sep 12 2001 Jim Hague <jim.hague@acm.org> + +* src/client.c,src/client.h,src/fetch.c,src/noffle.c,src/server.c: + robustness - instead of retruning simple Passed/Failed statuses from + connection functions, return an integer status instead. This allows + Noffle to distinguish between a connection failure, an unrecoverable + protocol error and a recoverable problem. As a concrete instance, Noffle + will no longer abort the connection if a group is removed from the + upstream server. Also beef up error detection a bit. +* src/content.c: instead of overwriting the existing content file(s) when + updating - which leaves a window where Noffle is vulnerable to failure + which will leave the content file corrupted (yes, it happened to me), + write a new content file and rename it over the old file only when it + has been written and closed with no errors reported. + Sat Sep 01 2001 Markus Enzenberger <me@markus-enzenberger.de> * src/client.c,src/protocol.h: perform authentication at connect time,