Caleb James DeLisle
|
2bb7d26c2f
Better logging
|
hace 4 años |
Caleb James DeLisle
|
286d751b6e
Reduce logging noise
|
hace 4 años |
Caleb James DeLisle
|
140699ceab
Make sure that any time we need to setup a session, the PF is notified
|
hace 4 años |
Caleb James DeLisle
|
4af6f25a05
Unused variable #2
|
hace 4 años |
Caleb James DeLisle
|
15c7d0e2c7
unused variable
|
hace 4 años |
Caleb James DeLisle
|
e642ddf0ba
When a session falls into disuse, drop it
|
hace 4 años |
Caleb James DeLisle
|
658c40382a
Don't trigger an unsetupSession every time the Pathfinder sends a message
|
hace 4 años |
Caleb James DeLisle
|
c2e9dfe3f1
Improved internal path quality metric computation
|
hace 4 años |
Caleb James DeLisle
|
9b772dddcc
Oops, didn't remove everything
|
hace 4 años |
Caleb James DeLisle
|
aa0a8299e8
Always trigger a search when needed
|
hace 4 años |
Caleb James DeLisle
|
6c1751d868
Got rid of usages of Except and simplified Message.h
|
hace 4 años |
Caleb James DeLisle
|
cd05e6a022
fix a warning which is killing travis-ci
|
hace 6 años |
Caleb James DeLisle
|
5edf834119
Don't busy-poll the snode to get routes to everything discovered by the old pathfinder
|
hace 6 años |
Valentin Lorentz
|
98c704ce1c
Replace address checks by function calls.
|
hace 7 años |
Caleb James DeLisle
|
5f20ccf638
dumb mistakes, didn't build
|
hace 7 años |
Caleb James DeLisle
|
1c7bfae5fc
Reduce the work done in check() in sessionManager to essentially nothing but do carry out the check on first cycle.
|
hace 7 años |
Caleb James DeLisle
|
176fc0fe18
Merge branch 'fix_unsetup_session' of git://github.com/madafoo/cjdns into crashey
|
hace 7 años |
Mada
|
c51d89431f
Fix typo
|
hace 7 años |
Mada
|
8cadf0e01c
Make code more readable
|
hace 7 años |
Mada
|
e7d3ab77b1
Fix typo
|
hace 7 años |
Mada
|
adc44dbb98
To distinguish from KeepAlive timestamp from normal message timestamp.
|
hace 7 años |
Caleb James DeLisle
|
79d5478c6d
Make sure the new and old pathfinders will never try to answer requests for nodes older/newer than v20
|
hace 7 años |
Caleb James DeLisle
|
faf60b00ec
1. Removed idle state from the session manager session, this is replaced by ignoring DHT traffic when thinking about time since last message so sessions will still expire properly.
|
hace 7 años |
Caleb James DeLisle
|
3508d88ba1
Make sure to use a better metric for new pathfinder stuff so that the old pathfinder doesn't evict it
|
hace 7 años |
Caleb James DeLisle
|
fa547a13b4
Don't ever send an unsetupSession if the switch label is unknown
|
hace 7 años |
Caleb James DeLisle
|
0e818dea0f
fix crash bug when someone sends a setup session packet with a specified handle
|
hace 7 años |
Caleb James DeLisle
|
1bf455c65a
Don't send UNSETUP_SESSION for nodes for which we don't know their version (peers)
|
hace 7 años |
Caleb James DeLisle
|
ab6850bbe9
Added a new message type to indicate when a path is known but the crypto session is not setup and handled this in the new pathfinder
|
hace 7 años |
Caleb James DeLisle
|
977a3e93d9
better logging around SessionManager
|
hace 7 años |
Caleb James DeLisle
|
afd46be363
Fix benchmark and also handle properly very small switch messages
|
hace 7 años |