You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2014/04/02 22:54:57 UTC

[1/2] git commit: Add missing braces

Repository: trafficserver
Updated Branches:
  refs/heads/master f4388232d -> 21e2f33c9


Add missing braces


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

Branch: refs/heads/master
Commit: 80fa40829d8fe3ac1873c010bebdbc51cee3c543
Parents: f438823
Author: James Peach <jp...@apache.org>
Authored: Wed Apr 2 13:52:57 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Wed Apr 2 13:52:57 2014 -0700

----------------------------------------------------------------------
 proxy/http/HttpTransact.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/80fa4082/proxy/http/HttpTransact.cc
----------------------------------------------------------------------
diff --git a/proxy/http/HttpTransact.cc b/proxy/http/HttpTransact.cc
index 2c25fc9..1eca460 100644
--- a/proxy/http/HttpTransact.cc
+++ b/proxy/http/HttpTransact.cc
@@ -4412,8 +4412,10 @@ HttpTransact::handle_cache_operation_on_forward_server_response(State* s)
           SET_VIA_STRING(VIA_PROXY_RESULT, VIA_PROXY_SERVER_REVALIDATED);
         }
       }
-    } else if (s->negative_caching)
+    } else if (s->negative_caching) {
       s->negative_caching = false;
+    }
+
     break;
   }
 


[2/2] git commit: doc: "cache" not "ache"

Posted by jp...@apache.org.
doc: "cache" not "ache"


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

Branch: refs/heads/master
Commit: 21e2f33c9eace0fa26e217bac1e98ecb48b8dfdd
Parents: 80fa408
Author: James Peach <jp...@apache.org>
Authored: Wed Apr 2 13:54:46 2014 -0700
Committer: James Peach <jp...@apache.org>
Committed: Wed Apr 2 13:54:46 2014 -0700

----------------------------------------------------------------------
 .../ja/LC_MESSAGES/reference/configuration/records.config.en.po    | 2 +-
 doc/reference/configuration/records.config.en.rst                  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/21e2f33c/doc/locale/ja/LC_MESSAGES/reference/configuration/records.config.en.po
----------------------------------------------------------------------
diff --git a/doc/locale/ja/LC_MESSAGES/reference/configuration/records.config.en.po b/doc/locale/ja/LC_MESSAGES/reference/configuration/records.config.en.po
index 11b3d1c..370f43c 100644
--- a/doc/locale/ja/LC_MESSAGES/reference/configuration/records.config.en.po
+++ b/doc/locale/ja/LC_MESSAGES/reference/configuration/records.config.en.po
@@ -3150,7 +3150,7 @@ msgstr ""
 
 #: ../../reference/configuration/records.config.en.rst:886
 msgid ""
-"``Cache-Control`` directives from the server forbidding ache are ignored "
+"``Cache-Control`` directives from the server forbidding cache are ignored "
 "for the following HTTP response codes, regardless of the value specified "
 "for the :ts:cv:`proxy.config.http.negative_caching_enabled` variable."
 msgstr ""

http://git-wip-us.apache.org/repos/asf/trafficserver/blob/21e2f33c/doc/reference/configuration/records.config.en.rst
----------------------------------------------------------------------
diff --git a/doc/reference/configuration/records.config.en.rst b/doc/reference/configuration/records.config.en.rst
index 944502d..556073c 100644
--- a/doc/reference/configuration/records.config.en.rst
+++ b/doc/reference/configuration/records.config.en.rst
@@ -941,7 +941,7 @@ Negative Response Caching
 
    .. note::
 
-      ``Cache-Control`` directives from the server forbidding ache are ignored for the following HTTP response codes, regardless
+      ``Cache-Control`` directives from the server forbidding cache are ignored for the following HTTP response codes, regardless
       of the value specified for the :ts:cv:`proxy.config.http.negative_caching_enabled` variable.
 
       The following negative responses are cached by Traffic Server:::