Mercurial > noffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 187:166008a80f03 | 188:f1bacee93ca6 |
|---|---|
| 1 Wed Sep 12 2001 Jim Hague <jim.hague@acm.org> | |
| 2 | |
| 3 * src/client.c,src/client.h,src/fetch.c,src/noffle.c,src/server.c: | |
| 4 robustness - instead of retruning simple Passed/Failed statuses from | |
| 5 connection functions, return an integer status instead. This allows | |
| 6 Noffle to distinguish between a connection failure, an unrecoverable | |
| 7 protocol error and a recoverable problem. As a concrete instance, Noffle | |
| 8 will no longer abort the connection if a group is removed from the | |
| 9 upstream server. Also beef up error detection a bit. | |
| 10 * src/content.c: instead of overwriting the existing content file(s) when | |
| 11 updating - which leaves a window where Noffle is vulnerable to failure | |
| 12 which will leave the content file corrupted (yes, it happened to me), | |
| 13 write a new content file and rename it over the old file only when it | |
| 14 has been written and closed with no errors reported. | |
| 15 | |
| 1 Sat Sep 01 2001 Markus Enzenberger <me@markus-enzenberger.de> | 16 Sat Sep 01 2001 Markus Enzenberger <me@markus-enzenberger.de> |
| 2 | 17 |
| 3 * src/client.c,src/protocol.h: perform authentication at connect time, | 18 * src/client.c,src/protocol.h: perform authentication at connect time, |
| 4 accept new and deprecated authentication status codes. | 19 accept new and deprecated authentication status codes. |
| 5 | 20 |
