You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "James Peach (JIRA)" <ji...@apache.org> on 2014/01/07 20:29:50 UTC
[jira] [Commented] (TS-610) API: New APIs for overridable
configurations
[ https://issues.apache.org/jira/browse/TS-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13864589#comment-13864589 ]
James Peach commented on TS-610:
--------------------------------
https://trafficserver.readthedocs.org/en/latest/reference/api/TSHttpOverridableConfig.en.html
Is this done?
> API: New APIs for overridable configurations
> --------------------------------------------
>
> Key: TS-610
> URL: https://issues.apache.org/jira/browse/TS-610
> Project: Traffic Server
> Issue Type: Improvement
> Components: Documentation, TS API
> Reporter: Leif Hedstrom
> Fix For: Docs
>
>
> The following new APIs have been added to override a select set of records.config configurations per transaction:
> tsapi TSReturnCode TSHttpTxnConfigIntSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt value);
> tsapi TSReturnCode TSHttpTxnConfigIntGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtInt* value);
> tsapi TSReturnCode TSHttpTxnConfigFloatSet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat value);
> tsapi TSReturnCode TSHttpTxnConfigFloatGet(TSHttpTxn txnp, TSOverridableConfigKey conf, TSMgmtFloat* value);
> tsapi TSReturnCode TSHttpTxnConfigStringSet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char* value, int length);
> tsapi TSReturnCode TSHttpTxnConfigStringGet(TSHttpTxn txnp, TSOverridableConfigKey conf, const char** value, int* length);
> tsapi TSReturnCode TSHttpTxnConfigFind(const char* name, int length, TSOverridableConfigKey* conf, TSRecordDataType* type);
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)