Github user persiaAziz commented on a diff in the pull request: https://github.com/apache/trafficserver/pull/213#discussion_r31775180 --- Diff: lib/atscppapi/src/Transaction.cc --- @@ -98,6 +97,46 @@ Transaction::~Transaction() delete state_; } +bool Transaction::configIntSet(TSOverridableConfigKey conf, int value) +{ + //txn,conf,value + TSReturnCode res=TSHttpTxnConfigIntSet(state_->txn_,conf,(TSMgmtInt)value); + return (res==TS_SUCCESS); --- End diff -- I followed the way Transaction::setCacheUrl(const string &cache_url) is written in Transaction.cc. Anyway, I will make it concise. bool Transaction::setCacheUrl(const string &cache_url) { TSReturnCode res = TSCacheUrlSet(state_->txn_, cache_url.c_str(), cache_url.length()); return (res == TS_SUCCESS); }
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---