| 254 | } |
| 255 | |
| 256 | string |
| 257 | Transaction::getEffectiveUrl() |
| 258 | { |
| 259 | string ret_val; |
| 260 | int length = 0; |
| 261 | char *buf = TSHttpTxnEffectiveUrlStringGet(state_->txn_, &length); |
| 262 | if (buf && length) { |
| 263 | ret_val.assign(buf, length); |
| 264 | } |
| 265 | |
| 266 | if (buf) { |
| 267 | TSfree(buf); |
| 268 | } |
| 269 | |
| 270 | return ret_val; |
| 271 | } |
| 272 | |
| 273 | bool |
| 274 | Transaction::setCacheUrl(const string &cache_url) |
nothing calls this directly
no test coverage detected