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