On 4/18/13 3:20 AM, Igor Galić wrote:
(*user != '\0') && (0 != strcmp(user, "#-1")));
# if TS_USE_POSIX_CAP
// Change the user of the process.
Is it necessary that we duplicate the code between traffic_cop and
traffic_server?
I can take a look again, but in general the problem here is that traffic_cop
does not have access to the "Register" processor. Meaning, it doesn't have
the defaults from mgmt/RecordsConfig.cc, and therefore parses records.config
directly (and naievely). This is in fact why records.config can not be empty
:-/.
We could try to fix this, but it's a bit of a chicken and egg situation. It
would be nice to be able to run just with the defaults from
mgmt/RecordsConfig.cc and an empty records.config.
Now, maybe there's some code here that can be repurposed and turned into a
library, feel free to file new tickets. :)
Cheers,
- Leif