Commit a5907af
committed
Fix the minor defects found by adversarial review of the 6.2.13 diff
An adversarial multi-agent review of the release diff returned no blocking or
major findings; these are the two minor items in the new code plus two format
conformance nits. No functional change to the server core.
- DBUpdater recorded UpgradeSucceeded only after ReleaseComObject and
Reinitialize, so a COM/RPC failure during that cleanup reported a schema
upgrade that had already committed as a failure (and the installer then
showed the new "could not be created or upgraded" error). Success is now
recorded immediately after CommitTransaction succeeds.
- DBSetup returned void, so the installer's new exit-code check was inert on
the external-database branch and a cancelled or incomplete interactive
setup still reported install success. Main now returns 0 only when the
wizard reached its final page (a page advances only when its task
succeeded), 3 when authentication is cancelled, else 1.
- SpamAssassinClient formatted the widened __int64 Content-length and the
size-mismatch log value with %d; both now use %I64d. The emitted values
were correct on x64, so this is conformance only.
Deferred to 6.2.14 (raised by the same review, not a regression): the PTR
prefetch task shares the bounded asynchronous work queue with message
finalization, so many simultaneous connections from addresses with
unresponsive reverse DNS can delay delivery responses. It is strictly better
than 6.2.12, which blocked the shared IO pool. The fix is a dedicated queue or
a bounded DnsQueryEx timeout.
Verified: server and tools build clean (server /WX, tools -warnaserror); full
regression suite 1026 of 1026 passing against the rebuilt 6.2.13 service.1 parent ca2b3cf commit a5907af
4 files changed
Lines changed: 32 additions & 8 deletions
File tree
- hmailserver/source
- Server/Common/AntiSpam/SpamAssassin
- Tools
- DBSetup
- DBUpdater
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
14 | 20 | | |
15 | 21 | | |
16 | 22 | | |
17 | 23 | | |
18 | | - | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | | - | |
| 29 | + | |
24 | 30 | | |
25 | 31 | | |
26 | | - | |
| 32 | + | |
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
30 | | - | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
31 | 41 | | |
32 | 42 | | |
33 | 43 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
17 | 25 | | |
18 | 26 | | |
19 | 27 | | |
| |||
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
45 | 56 | | |
46 | 57 | | |
47 | 58 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
408 | 413 | | |
409 | 414 | | |
410 | 415 | | |
411 | 416 | | |
412 | 417 | | |
413 | 418 | | |
414 | 419 | | |
415 | | - | |
416 | | - | |
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
| |||
0 commit comments