Updated Branches: refs/heads/master e7a1b8ffb -> 65630cd93
TS-2117 make hipes plugin build Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/65630cd9 Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/65630cd9 Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/65630cd9 Branch: refs/heads/master Commit: 65630cd93849ebfaa66f68c757770ac7a6dd6196 Parents: e7a1b8f Author: Kit Chan <[email protected]> Authored: Thu Dec 26 08:59:28 2013 -0800 Committer: Kit Chan <[email protected]> Committed: Thu Dec 26 08:59:28 2013 -0800 ---------------------------------------------------------------------- plugins/experimental/hipes/hipes.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/65630cd9/plugins/experimental/hipes/hipes.cc ---------------------------------------------------------------------- diff --git a/plugins/experimental/hipes/hipes.cc b/plugins/experimental/hipes/hipes.cc index 2f0cafa..03908b7 100644 --- a/plugins/experimental/hipes/hipes.cc +++ b/plugins/experimental/hipes/hipes.cc @@ -326,7 +326,7 @@ TSRemapDoRemap(void* ih, TSHttpTxn rh, TSRemapRequestInfo *rri) TSDebug(PLUGIN_NAME, "Escaped service URL is %s(%d)", svc_url_esc, len); // Prepare the new query arguments, make sure it fits - if (( (slash - param) + 2 + h_conf->url_param.size() + len) > MAX_PATH_SIZE) { + if (( (slash - param) + 2 + (int) h_conf->url_param.size() + len) > MAX_PATH_SIZE) { TSHttpTxnSetHttpRetStatus(rh, TS_HTTP_STATUS_REQUEST_URI_TOO_LONG); return TSREMAP_NO_REMAP; }
