Commit Graph

31 Commits

Author SHA1 Message Date
Jakob Borg
4ac204b604 Fine grained locking 2014-01-20 07:38:48 +01:00
Jakob Borg
45fcf4bc84 Implement new puller routine (fixes #33) 2014-01-12 11:02:16 -07:00
Jakob Borg
2935aebe53 Benchmarking 2014-01-09 14:11:55 +01:00
Jakob Borg
1ef86379fb Actually send index updates for version bumps 2014-01-08 14:21:47 +01:00
Jakob Borg
2cfb24892f Add version and invalid bit to protocol 2014-01-07 22:44:21 +01:00
jpjp
2bdab426ff synch -> sync 2014-01-06 22:27:57 +01:00
Jakob Borg
6679c84cfb Refactor statistics printing 2014-01-05 16:20:18 +01:00
Jakob Borg
7e0be89052 Simplify index sending, prevent ping timeout 2013-12-31 21:22:49 -05:00
Jakob Borg
632bcae856 Mostly lock free receive loop 2013-12-30 22:10:54 -05:00
Jakob Borg
42ad9f8b02 Increase ping timeout 2013-12-30 21:32:20 -05:00
Jakob Borg
0f6b34160c Propagate and log reason for connection close 2013-12-30 21:25:45 -05:00
Jakob Borg
af3e64a5a7 Remove broken Ping latency measurement 2013-12-30 20:52:36 -05:00
Jakob Borg
7948d046d1 Fix locking around close events 2013-12-30 15:27:20 -05:00
Jakob Borg
673ab42c3c Remove race / unnecessary check 2013-12-30 10:05:13 -05:00
Jakob Borg
005b207737 Atomic connection stats updates 2013-12-30 09:53:54 -05:00
Jakob Borg
1c757db153 Avoid deadlock in index exchange by more fine grained locking 2013-12-30 09:22:34 -05:00
Jakob Borg
976baff44f Memory usage optimizations 2013-12-29 20:33:57 -05:00
Jakob Borg
454e672d42 Handle calls on closed connection 2013-12-28 10:33:18 -05:00
Jakob Borg
74c27ad4e2 Index Updates 2013-12-28 08:10:36 -05:00
Jakob Borg
fc4b23fbc6 Locking/Ping cleanup 2013-12-24 11:45:16 -05:00
Jakob Borg
746d52930d Report transfer stats 2013-12-23 12:28:19 -05:00
Jakob Borg
7d235a454d Refactor length check 2013-12-21 23:52:20 +01:00
Jakob Borg
5c1db4f0f4 Close on unknown message type 2013-12-21 08:15:19 +01:00
Jakob Borg
8d3aa97047 Close on version mismatch 2013-12-21 08:06:54 +01:00
Jakob Borg
f5987fba32 Error handling, testing 2013-12-21 07:52:32 +01:00
Jakob Borg
f774b0a5dc Error handling 2013-12-18 18:29:15 +01:00
Jakob Borg
bef9ccfa71 Do ping check after 5 minute inactivity 2013-12-15 16:19:45 +01:00
Jakob Borg
768a7d5052 Simplify async results 2013-12-15 15:58:27 +01:00
Jakob Borg
e86296884a Crash for explainable reason when protocol is out of sync (version skew) 2013-12-15 13:18:03 +01:00
Jakob Borg
8589a0fb40 Don't crash on reading empty index 2013-12-15 13:12:32 +01:00
Jakob Borg
bfe935b5ab REBASE! 2013-12-15 11:43:40 +01:00