Description
I had a problem using the update feature. I recevied a SegFault in do_host_db_lookup which was caused by accessing ua_session which was not initialized (see attached patch).
After fixing that i no longer get an SegFault, but the files that are retrieved by recursion are not placed into the cache. They are requested in every schedule.
Only the starting file is placed correctly into the cache.
When retrieving the files with a client, caching works as expected. So i don't think this is a configuration error.