Squid 配置指令 adaptation_masterx_shared_names
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | adaptation_masterx_shared_names |
|---|---|
| 替代 | |
| 要求 | --enable-ecap 或 --enable-icap-client |
| 默认值 | none |
| 建议配置 |
# share authentication information among ICAP services |
For each master transaction (i.e., the HTTP request and response sequence, including all related ICAP and eCAP exchanges), Squid maintains a table of metadata. The table entries are (name, value) pairs shared among eCAP and ICAP exchanges. The table is destroyed with the master transaction. This option specifies the table entry names that Squid must accept from and forward to the adaptation transactions. An ICAP REQMOD or RESPMOD transaction may set an entry in the shared table by returning an ICAP header field with a name specified in adaptation_masterx_shared_names. An eCAP REQMOD or RESPMOD transaction may set an entry in the shared table by implementing the libecap::visitEachOption() API to provide an option with a name specified in adaptation_masterx_shared_names. Squid will store and forward the set entry to subsequent adaptation transactions within the same master transaction scope. Only one shared entry name is supported at this time. Example: adaptation_masterx_shared_names X-Subscriber-ID |
|
