Make sure list is free'd in case of error. A bit cleanups as well.
If a file starts with the terminator string, at least it won't be ignored if it's longer.
Exit with error if connection is closed before having received CFD_TERMINATOR.
No need for memset, but explicitly set the double bytes to '\0' to show the intent.
Make more clear that we're waiting for double '\0'.
Separate the per-connection stat cache.
If client fails to run time() send 0 in SYNCH packet. Server should then not fail, unless denybadclocks is set.
Merge pull request #1984 from jimis/conn_cache

Small clean-ups and leak fixes in the OPENDIR mechanism.