mirror of
https://github.com/haproxy/haproxy.git
synced 2026-07-10 17:55:32 -04:00
The save handler treated any HTTP 200 as a full success and advanced the local reference for everything it had sent, only special-casing the reported conflicts. But the server legitimately drops directives it cannot parse, and answers "OK <n> directives applied" with what it really did. The typical case is an outdated update scripton the server which ignores the whole "setnotes" directive, applies nothing, and the client still displayed the edit as saved... until the next "Get updates" reverted it. Let's count the directives sent, and when the server's applied count plus the reported conflicts don't add up, believe the server, not ourselves: advance nothing, keep every edit local (boxes open, save button lit) and tell the user how many changes were ignored, suggesting a version mismatch. |
||
|---|---|---|
| .. | ||
| base64 | ||
| coccinelle | ||
| flags | ||
| gdb | ||
| h2 | ||
| haring | ||
| hpack | ||
| ncpu | ||
| patchbot | ||
| phash | ||
| plug_qdisc | ||
| poll | ||
| qpack | ||
| sslkeylogger | ||
| tcploop | ||
| term_events | ||
| trace | ||
| udp | ||