You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by bu...@apache.org on 2012/08/30 22:11:58 UTC
svn commit: r830590 - in /websites/staging/trafficserver/trunk: cgi-bin/
content/ content/docs/trunk/admin/configuration-files/
content/docs/trunk/admin/configuring-traffic-server/
content/docs/trunk/admin/event-logging-formats/ content/docs/trunk/admi...
Author: buildbot
Date: Thu Aug 30 20:11:57 2012
New Revision: 830590
Log:
Staging update by buildbot for tserver
Modified:
websites/staging/trafficserver/trunk/cgi-bin/ (props changed)
websites/staging/trafficserver/trunk/content/ (props changed)
websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/storage.config.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/update.config.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuring-traffic-server/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/event-logging-formats/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/forward-proxy/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/monitoring-traffic/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/header_filter/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/mysql_remap/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/security-options/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/admin/transparent-proxy/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/adding-statistics/coupled-statistics.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/continuations/writing-handler-functions.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/getting-started/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/marshal-buffers.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-hooks-and-transactions/http-alternate-selection.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/guide-to-the-logging-api.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/remap-plugin/index.en.html
websites/staging/trafficserver/trunk/content/docs/trunk/sdk/sample-source-code/index.en.html
Propchange: websites/staging/trafficserver/trunk/cgi-bin/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 30 20:11:57 2012
@@ -1 +1 @@
-1379083
+1379115
Propchange: websites/staging/trafficserver/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Aug 30 20:11:57 2012
@@ -1 +1 @@
-1379083
+1379115
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/storage.config.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/storage.config.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/storage.config.en.html Thu Aug 30 20:11:57 2012
@@ -117,7 +117,7 @@ use <code>udev</code> to persisently set
targeted for an Ubuntu system, and stored in <code>/etc/udev/rules.d/51-cache-disk.rules</code>:</p>
<div class="codehilite"><pre># Assign /dev/sde and /dev/sdf to the www group
# make the assignment final, no later changes allowed to the group!
-SUBSYSTEM=="block", KERNEL=="sdef", GROUP:="www"
+SUBSYSTEM=="block", KERNEL=="sd[ef]", GROUP:="www"
</pre></div>
</div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/update.config.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/update.config.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuration-files/update.config.en.html Thu Aug 30 20:11:57 2012
@@ -152,10 +152,10 @@ expressions to perform a match.</p>
<dd>Specifies beginning of line</dd>
<dt><code>$</code></dt>
<dd>Specifies end of line</dd>
-<dt><code>xyz</code></dt>
+<dt><code>[xyz]</code></dt>
<dd>A <strong>character class</strong>. In this case, the pattern matches either
<code>x</code>, <code>y</code>, or<code>z</code></dd>
-<dt><code>abj-oZ</code></dt>
+<dt><code>[abj-oZ]</code></dt>
<dd>A <strong>character class</strong> with a range. This pattern matches <code>a</code>, <code>b</code>,
any letter from <code>j</code> thru <code>o</code>, or <code>Z</code></dd>
<dt><code>[^A-Z]</code></dt>
@@ -173,8 +173,8 @@ any character except those in the class.
<dd>Two or more <code>r</code>, where <code>r</code> is any regular expression.</dd>
<dt><code>r{4}</code></dt>
<dd>Exactly four <code>r</code>, where <code>r</code> is any regular expression.</dd>
-<dt><code>"xyz\"images"</code></dt>
-<dd>The literal string <code>xyz"images"</code></dd>
+<dt><code>"[xyz]\"images"</code></dt>
+<dd>The literal string <code>[xyz]"images"</code></dd>
<dt><code>\X</code></dt>
<dd>If <code>X</code> is <code>a, b, f, n, r, t,</code> or <code>v</code>, then the <code>ANSI-C</code> interpretation of
<code>\x</code>; otherwise, a literal <code>X</code>. This is used to escape operators
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuring-traffic-server/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuring-traffic-server/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/configuring-traffic-server/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Adminstrator's Guide</div>
+ <div id="header-main">Apache Traffic Server</div>
<div id="header-sub">Configuring Traffic Server </div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/event-logging-formats/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/event-logging-formats/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/event-logging-formats/index.en.html Thu Aug 30 20:11:57 2012
@@ -370,8 +370,8 @@ Traffic Server logging field symbols. </
<td><code>caun</code></td>
</tr>
<tr>
-<td><code>time</code></td>
-<td><code>cqtn</code></td>
+<td><code>[time]</code></td>
+<td><code>[cqtn]</code></td>
</tr>
<tr>
<td><code>"req"</code></td>
@@ -407,8 +407,8 @@ Traffic Server logging field symbols. </
<td><code>caun</code></td>
</tr>
<tr>
-<td><code>time</code></td>
-<td><code>cqtn</code></td>
+<td><code>[time]</code></td>
+<td><code>[cqtn]</code></td>
</tr>
<tr>
<td><code>"req"</code></td>
@@ -480,8 +480,8 @@ Traffic Server logging field symbols.</p
<td><code>caun</code></td>
</tr>
<tr>
-<td><code>time</code></td>
-<td><code>cqtn</code></td>
+<td><code>[time]</code></td>
+<td><code>[cqtn]</code></td>
</tr>
<tr>
<td><code>"req"</code></td>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/forward-proxy/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/forward-proxy/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/forward-proxy/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Apache Traffic Server</div>
+ <div id="header-main">Adminstrator's Guide</div>
<div id="header-sub">Forward Proxy </div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/http-proxy-caching/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Apache Traffic Server</div>
+ <div id="header-main">Adminstrator's Guide</div>
<div id="header-sub">HTTP Proxy Caching </div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/monitoring-traffic/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/monitoring-traffic/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/monitoring-traffic/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Apache Traffic Server</div>
+ <div id="header-main">Adminstrator's Guide</div>
<div id="header-sub">Monitoring Traffic </div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/header_filter/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/header_filter/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/header_filter/index.en.html Thu Aug 30 20:11:57 2012
@@ -81,15 +81,15 @@ schedules actions in hooks other than du
<p>The configuration files looks like</p>
-<div class="codehilite"><pre>READ_REQUEST_HDR
+<div class="codehilite"><pre>[READ_REQUEST_HDR]
X-From-Someone
Cookie
-READ_RESPONSE_HDR
+[READ_RESPONSE_HDR]
X-From-Server
Set-Cookie
-SEND_RESPONSE_HDR
+[SEND_RESPONSE_HDR]
X-Fie "Test" # Match the entire string
X-Foo /Test/ # Match the (Perl) regex
X-Bar [Test* # Match the prefix string
@@ -101,7 +101,7 @@ SEND_RESPONSE_HDR
matching is the best choice (very little overhead). The pattern matches
can also take an option '<code>!</code>' to reverse the test. The default action is
to delete all headers that do (not) match the pattern. E.g.</p>
-<div class="codehilite"><pre>SEND_REQUEST_HDR
+<div class="codehilite"><pre>[SEND_REQUEST_HDR]
X-Fie /test/
X-Foo ! /test/i
</pre></div>
@@ -111,7 +111,7 @@ to delete all headers that do (not) matc
comparison to be made case insensitive (just like in Perl).</p>
<p>It's also possible to replace or add headers, using the = and +
operators. For example</p>
-<div class="codehilite"><pre>SEND_REQUEST_HDR
+<div class="codehilite"><pre>[SEND_REQUEST_HDR]
Host =www.example.com=
X-Foo +ATS+
</pre></div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/mysql_remap/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/mysql_remap/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/plugins/mysql_remap/index.en.html Thu Aug 30 20:11:57 2012
@@ -102,7 +102,7 @@ mysql -u root -p mysql_remap < schema
<p>The INI file should contain the following values:</p>
-<div class="codehilite"><pre>mysql_remap
+<div class="codehilite"><pre>[mysql_remap]
mysql_host = localhost #default
mysql_port = 3306 #default
mysql_username = root
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/security-options/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/security-options/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/security-options/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Adminstrator's Guide</div>
+ <div id="header-main">Apache Traffic Server</div>
<div id="header-sub">Security Options </div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/admin/transparent-proxy/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/admin/transparent-proxy/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/admin/transparent-proxy/index.en.html Thu Aug 30 20:11:57 2012
@@ -28,7 +28,7 @@
</div>
<div class="fourcol right last" id="searchbox">
- <div id="header-main">Adminstrator's Guide</div>
+ <div id="header-main">Apache Traffic Server</div>
<div id="header-sub">Transparent Proxying </div>
</div>
@@ -60,7 +60,7 @@
<div class="row content">
<div class="eightcol">
<div id="content">
- <!-- TOC -->
+ <!-- [TOC] -->
<p>Transparent Proxying is the ability of a proxy (such as <abbr title="Apache Traffic Server">ATS</abbr>)
to intercept connections between clients and servers without being visible. </p>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/adding-statistics/coupled-statistics.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/adding-statistics/coupled-statistics.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/adding-statistics/coupled-statistics.en.html Thu Aug 30 20:11:57 2012
@@ -72,7 +72,7 @@ To specify which statistics are related
statistic category and make sure that each coupled statistic belongs to the
appropriate category. When it is time to do the global update, specify the
category to be updated.</p>
-<p><img alt="Note" src="/images/docbook/note.png" /></p>
+<p><img alt="[Note]" src="/images/docbook/note.png" /></p>
<p><strong>Note</strong> </p>
<p>The local statistic copy must have a duplicate set of statistics as that of
the master copy. Local statistics must also be added to the local statistic
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/continuations/writing-handler-functions.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/continuations/writing-handler-functions.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/continuations/writing-handler-functions.en.html Thu Aug 30 20:11:57 2012
@@ -89,7 +89,7 @@ handler function typically has a switch
</pre></div>
-<p><img alt="Caution" src="/images/docbook/caution.png" /></p>
+<p><img alt="[Caution]" src="/images/docbook/caution.png" /></p>
<p><strong>Caution</strong></p>
<p>You might notice that a continuation cannot determine if more events are "in
flight" toward it. Do not use <code>TSContDestroy</code> to delete a continuation before
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/getting-started/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/getting-started/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/getting-started/index.en.html Thu Aug 30 20:11:57 2012
@@ -100,7 +100,7 @@ Server loads when it is started. Your pl
are registered for specific Traffic Server events. When Traffic Server needs
to process an event, it invokes any and all call-back functions you've registered
for that event type.</p>
-<p><img alt="Caution" src="/images/docbook/caution.png" />
+<p><img alt="[Caution]" src="/images/docbook/caution.png" />
<strong>Caution</strong></p>
<p>Since plugins add object code to Traffic Server, programming errors in a plugin
can have serious implications. Bugs in your plugin, such as an out-of-range
@@ -184,7 +184,7 @@ The <code>plugin.config</code> file also
plugin's initialization function, <code>TSPluginInit</code>. The <code>records.config</code> file
defines the path to each plugin shared library, as described in <a href="SpecifyingPluginLocation.html">Specify the
Plugin's Location</a>.</p>
-<p><img alt="Note" src="/images/docbook/note.png" />
+<p><img alt="[Note]" src="/images/docbook/note.png" />
<strong>Note</strong></p>
<p>The path for each of these files is <em><code><root_dir></code></em><code>/config/</code>, where <em><code><root_dir></code></em>
is where you installed Traffic Server.</p>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/index.en.html Thu Aug 30 20:11:57 2012
@@ -67,7 +67,7 @@ string values returned from marshall buf
need a null-terminated value, then use <code>TSstrndup</code> to automatically null-terminate
a string. The strings that come back and are not null-terminated <strong>cannot</strong>
be passed into the common <code>str*()</code> routines</p>
-<p><img alt="Note" src="/images/docbook/note.png" /></p>
+<p><img alt="[Note]" src="/images/docbook/note.png" /></p>
<p><strong>Note</strong> </p>
<p>Values returned from a marshall buffer can be <code>NULL</code>, which means the field
or object requested does not exist.</p>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/guide-to-trafficserver-http-header-system/release-marshal-buffer-handles.en.html Thu Aug 30 20:11:57 2012
@@ -103,7 +103,7 @@ by the <code>TSHttpTxn*Get</code> functi
<p>See the sample plugins for many more examples.</p>
-<p><img alt="Tip" src="/images/docbook/tip.png" /></p>
+<p><img alt="[Tip]" src="/images/docbook/tip.png" /></p>
<p><strong>Tip</strong> </p>
<p>You should release handles before reenabling the HTTP transaction. In other
words, call <code>TSHandleMLocRelease</code> before <code>TSHttpTxnReenable</code>. </p>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/index.en.html Thu Aug 30 20:11:57 2012
@@ -95,7 +95,7 @@ line is usually referred to as a <strong
typical request header.</p>
<div class="codehilite"><pre>GET http://www.tiggerwigger.com/ HTTP/1.0
Proxy-Connection: Keep-Alive
-User-Agent: Mozilla/5.0 en (X11; I; Linux 2.2.3 i686)
+User-Agent: Mozilla/5.0 [en] (X11; I; Linux 2.2.3 i686)
Host: www.tiggerwigger.com
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */
*
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/marshal-buffers.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/marshal-buffers.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-headers/marshal-buffers.en.html Thu Aug 30 20:11:57 2012
@@ -73,19 +73,19 @@ For example, see one of the following:</
<p>The <strong>marshal buffer functions</strong> enable you to create and destroy Traffic Server's
marshal buffers, which are the data structures that hold parsed URLs, MIME
headers, and HTTP headers.</p>
-<p><img alt="Caution" src="/images/docbook/caution.png" /></p>
+<p><img alt="[Caution]" src="/images/docbook/caution.png" /></p>
<p><strong>Caution</strong> </p>
<p>Any marshal buffer fetched by <code>TSHttpTxn*Get</code> will be used by other parts
of the system. Be careful not to destroy these shared transaction marshal buffers
in functions such as those below:</p>
<ul>
-<li><code>TSHttpTxnCachedReqGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnCachedRespGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnClientReqGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnClientRespGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnServerReqGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnServerRespGet(link/to/doxygen)</code></li>
-<li><code>TSHttpTxnTransformRespGet(link/to/doxyge)</code></li>
+<li><code>[TSHttpTxnCachedReqGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnCachedRespGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnClientReqGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnClientRespGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnServerReqGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnServerRespGet](link/to/doxygen)</code></li>
+<li><code>[TSHttpTxnTransformRespGet](link/to/doxyge)</code></li>
</ul>
</div>
</div>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-hooks-and-transactions/http-alternate-selection.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-hooks-and-transactions/http-alternate-selection.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/http-hooks-and-transactions/http-alternate-selection.en.html Thu Aug 30 20:11:57 2012
@@ -84,7 +84,7 @@ to an <code>TSHttpAltInfo</code> structu
selection functions listed at the end of this section. Unlike other hooks,
this alternate selection callout is non-blocking; the expectation is that the
quality value for the alternate will be changed by a call to <code>TSHttpAltInfoQualitySet</code>.</p>
-<p><img alt="Note" src="/images/docbook/note.png" />
+<p><img alt="[Note]" src="/images/docbook/note.png" />
<strong>Note</strong></p>
<p>HTTP SM does not have to be reenabled using <code>TSHttpTxnReenable</code> or any other
APIs; just return from the function.</p>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/guide-to-the-logging-api.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/guide-to-the-logging-api.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/guide-to-the-logging-api.en.html Thu Aug 30 20:11:57 2012
@@ -133,15 +133,15 @@ log is created successfully, then an err
request) with a list of blacklisted sites (stored in the array <code>sites[</code>]): </p>
<p>::::c
for (i = 0; i < nsites; i++) {
- if (strncmp (host, sitesi, host_length) == 0) {
-If the host matches one of the blacklisted sites (such as <code>sitesi</code>), then
+ if (strncmp (host, sites[i], host_length) == 0) {
+If the host matches one of the blacklisted sites (such as <code>sites[i]</code>), then
the plugin writes a blacklist entry to <code>blacklist.log</code>:</p>
<p>::::c
if (log) {
- TSTextLogObjectWrite(log, "blacklisting site: %s", sitesi);
+ TSTextLogObjectWrite(log, "blacklisting site: %s", sites[i]);
The format of the log entry is as follows:</p>
<p>:::text
- <timestamp> blacklisting site: sitesi
+ <timestamp> blacklisting site: sites[i]
The log is not flushed or destroyed in the <code>blacklist-1</code> plugin - it lives
for the life of the plugin.</p>
</li>
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/plugin-management/reading-trafficserver-settings-and-statistics.en.html Thu Aug 30 20:11:57 2012
@@ -62,7 +62,7 @@
and performance. The functions described in this section read this information
from the Traffic Server <code>records.config</code> file. Configuration settings are stored
in <code>CONFIG</code> variables and statistics are stored in <code>PROCESS</code> variables.</p>
-<p><img alt="Caution" src="/images/docbook/caution.png" /></p>
+<p><img alt="[Caution]" src="/images/docbook/caution.png" /></p>
<p><strong>Caution</strong> </p>
<p>Not all <code>CONFIG</code> and <code>PROCESS</code> variables in <code>records.config</code> are relevant to
Traffic Server's configuration and statistics. Therefore, retrieve only the
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/remap-plugin/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/remap-plugin/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/remap-plugin/index.en.html Thu Aug 30 20:11:57 2012
@@ -58,7 +58,7 @@
<div class="row content">
<div class="eightcol">
<div id="content">
- <p>TOC
+ <p>[TOC]
* <a href="RemapAPI_Example.html">Example: Query Remap</a></p>
<p>The Remap plugin provides a more flexible, dynamic way of specifying remap
rules. It is not built on top of the Traffic Server APIs and exists solely
Modified: websites/staging/trafficserver/trunk/content/docs/trunk/sdk/sample-source-code/index.en.html
==============================================================================
--- websites/staging/trafficserver/trunk/content/docs/trunk/sdk/sample-source-code/index.en.html (original)
+++ websites/staging/trafficserver/trunk/content/docs/trunk/sdk/sample-source-code/index.en.html Thu Aug 30 20:11:57 2012
@@ -103,7 +103,7 @@ forbidden</code> message to the client.<
#define MAX_NSITES 500
- static char* sitesMAX_NSITES;
+ static char* sites[MAX_NSITES];
static int nsites;
static TSMutex sites_mutex;
static TSTextLogObject log;
@@ -141,11 +141,11 @@ forbidden</code> message to the client.<
TSMutexLock(sites_mutex);
for (i = 0; i < nsites; i++) {
- if (strncmp (host, sitesi, host_length) == 0) {
+ if (strncmp (host, sites[i], host_length) == 0) {
if (log) {
- TSTextLogObjectWrite(log, "blacklisting site: %s", sitesi);
+ TSTextLogObjectWrite(log, "blacklisting site: %s", sites[i]);
} else {
- printf ("blacklisting site: %s\n", sitesi);
+ printf ("blacklisting site: %s\n", sites[i]);
}
TSHttpTxnHookAdd (txnp, TS_HTTP_SEND_RESPONSE_HDR_HOOK, contp);
TSHandleMLocRelease (bufp, hdr_loc, url_loc);
@@ -237,10 +237,10 @@ forbidden</code> message to the client.<
/* Not a valid line, skip it */
continue;
}
- if (sitesnsites != NULL) {
- TSfree (sitesnsites);
+ if (sites[nsites] != NULL) {
+ TSfree (sites[nsites]);
}
- sitesnsites = TSstrdup (buffer);
+ sites[nsites] = TSstrdup (buffer);
nsites++;
}
@@ -332,7 +332,7 @@ forbidden</code> message to the client.<
nsites = 0;
for (i = 0; i < MAX_NSITES; i++) {
- sitesi = NULL;
+ sites[i] = NULL;
}
read_blacklist ();