This repository was archived by the owner on May 6, 2020. It is now read-only.
Commit 9673679
committed
proxy: implement (re)store of proxy's state
Introduce the high availability feature of cc-proxy by implementing
store/restore of proxy's state to/from disk. This feature depends
on the ability of shim to reconnect to cc-proxy if connection is lost.
Fixes #4.
Signed-off-by: Dmitry Voytik <voytikd@gmail.com>1 parent 05e19de commit 9673679
5 files changed
Lines changed: 745 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | | - | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
251 | 260 | | |
252 | 261 | | |
253 | 262 | | |
| |||
323 | 332 | | |
324 | 333 | | |
325 | 334 | | |
326 | | - | |
327 | | - | |
328 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
329 | 339 | | |
330 | 340 | | |
331 | 341 | | |
| |||
617 | 627 | | |
618 | 628 | | |
619 | 629 | | |
620 | | - | |
621 | | - | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
622 | 633 | | |
623 | | - | |
624 | | - | |
625 | | - | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
626 | 637 | | |
627 | 638 | | |
628 | 639 | | |
| |||
0 commit comments