How to pass options to ecap adapter?
Hello!
I tried to pass option from squid configuration file to ecap adapter this way:
ecap_service eRespmod respmod_precache uri=ecap:
But it didnt work:
Warning: loaded eCAP service has no matching ecap_service config option: ecap://
WARNING: configured ecap_service was not loaded: ecap://
Can you describe hot to declare service config options? I just renamed adapter_modifying option "victim", but it didnt work.
my code looks like:
class Service: public libecap:
public:
// Configuration storage
.......
void Adapter:
const std::string value = valArea.toString();
if (name == "exec")
if (value == "")
else
if (name.assignedH
; // skip host-standard options we do not know or care about
else
}
void Adapter:
const std::string &exec = service->exec;
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- eCAP Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Alex Rousskov
- Solved:
- Last query:
- Last reply: