You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2014/12/17 22:25:15 UTC

[1/2] trafficserver git commit: TS-3244 stats_over_http does not use path option

Repository: trafficserver
Updated Branches:
  refs/heads/master 76db63d70 -> 73393f822


TS-3244 stats_over_http does not use path option


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/c93d39c5
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/c93d39c5
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/c93d39c5

Branch: refs/heads/master
Commit: c93d39c56ebe5fde648964fe56e1c18640bf370e
Parents: 76db63d
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Dec 17 14:22:40 2014 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Dec 17 14:22:40 2014 -0700

----------------------------------------------------------------------
 plugins/stats_over_http/stats_over_http.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/c93d39c5/plugins/stats_over_http/stats_over_http.c
----------------------------------------------------------------------
diff --git a/plugins/stats_over_http/stats_over_http.c b/plugins/stats_over_http/stats_over_http.c
index 720a7e7..9c4f8bf 100644
--- a/plugins/stats_over_http/stats_over_http.c
+++ b/plugins/stats_over_http/stats_over_http.c
@@ -312,8 +312,8 @@ init:
   argc -= optind;
   argv += optind;
 
-  if (argc > 1) {
-    url_path = TSstrdup(argv[1] + ('/' == argv[1][0] ? 1 : 0)); /* Skip leading / */
+  if (argc > 0) {
+    url_path = TSstrdup(argv[0] + ('/' == argv[0][0] ? 1 : 0)); /* Skip leading / */
   }
   url_path_len = strlen(url_path);
 


[2/2] trafficserver git commit: Add TS-3244 and some cleanup.

Posted by zw...@apache.org.
Add TS-3244 and some cleanup.


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/73393f82
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/73393f82
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/73393f82

Branch: refs/heads/master
Commit: 73393f822a176eb6c30ddedd425aa1643a3b8d65
Parents: c93d39c
Author: Leif Hedstrom <zw...@apache.org>
Authored: Wed Dec 17 14:25:07 2014 -0700
Committer: Leif Hedstrom <zw...@apache.org>
Committed: Wed Dec 17 14:25:07 2014 -0700

----------------------------------------------------------------------
 CHANGES | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/73393f82/CHANGES
----------------------------------------------------------------------
diff --git a/CHANGES b/CHANGES
index 200c5ad..62cdbf5 100644
--- a/CHANGES
+++ b/CHANGES
@@ -11,7 +11,8 @@ Changes with Apache Traffic Server 5.3.0
 
   *) [TS-3237] Change HostDB to not segregate DNS results by port.
 
-  *) [TS-3226] Move access of read vio inside the mutex to prevent ntodo corruption.
+  *) [TS-3226] Move access of read vio inside the mutex to prevent ntodo
+   corruption.
 
   *) [TS-3224] fix ts_lua core dump issue.
 
@@ -27,15 +28,17 @@ Changes with Apache Traffic Server 5.3.0
 
 Changes with Apache Traffic Server 5.2.0
 
-  *) [TS-1570] Remap doesn't reject request with extract characters after port in Host header
-     Author: Cynthia Gu <cz...@linkedin.com>
+  *) [TS-3244] stats_over_http plugin does not use optional path argument.
+
+  *) [TS-1570] Remap doesn't reject request with extract characters after port
+     in Host header. Author: Cynthia Gu <cz...@linkedin.com>
 
-  *) [TS-3221] ink_atoi64 fix for single digit case
+  *) [TS-3221] ink_atoi64 fix for single digit case.
      Author: Cynthia Gu <cz...@linkedin.com>
 
   *) [TS-3223] Fix the internal buffer sizing.
 
-  *) [TS-3130] Delay setting buffer to NULL to prevent crash in logging
+  *) [TS-3130] Delay setting buffer to NULL to prevent crash in logging.
 
   *) [TS-3207] _xstrdup incorrectly calls ink_strlcpy with 0 length strings.