git-annex/doc/devblog/day_133__db_and_bugfixes.mdwn

21 lines
1.1 KiB
Text
Raw Normal View History

2014-03-13 23:45:48 +00:00
Did some more exploration and perf tuning and thinking on caching
databases, and am pretty sure I know how I want to implement it. Will be
several stages, starting with using it for generating views, and ending(?)
with using it for direct mode file mappings.
Not sure I'm ready to dive into that yet, so instead spent the rest of the
2014-04-16 08:59:00 +00:00
day working on small bugfixes and improvements. Only two significant ones..
2014-03-13 23:45:48 +00:00
Made the webapp use a constant time string comparison (from `securemem`)
2014-03-15 06:50:38 +00:00
to check if its auth token is valid. This could help avoid a potential
timing attack to guess the auth token, although that is theoretical.
Just best practice to do this.
2014-03-13 23:45:48 +00:00
Seems that openssh 6.5p1 had another hidden surprise (in addition to
its now-fixed bug in handing hostnames in `.ssh/config`) -- it broke
the method git-annex was using for stopping a cached ssh connection,
2014-03-15 06:50:38 +00:00
which led to some timeouts for failing DNS lookups. If git-annex seems
to stall for a few seconds at startup/shutdown, that may be why
(--debug will say for sure). I seem to have found a workaround that
avoids this problem.