Author: mlibbey Date: Tue Apr 6 17:25:51 2010 New Revision: 931236 URL: http://svn.apache.org/viewvc?rev=931236&view=rev Log: remove non ascii characters
Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/ActionsGuide.html incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html incubator/trafficserver/site/trunk/docs/v2/sdk/AddingStatistics.html incubator/trafficserver/site/trunk/docs/v2/sdk/BlacklistPlugin.html incubator/trafficserver/site/trunk/docs/v2/sdk/CoupledStatistics.html incubator/trafficserver/site/trunk/docs/v2/sdk/CreatingTSPlugins.html incubator/trafficserver/site/trunk/docs/v2/sdk/DebuggingFunctions.html incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPAlternateSelection.html incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHooksAndTransactions.html incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html incubator/trafficserver/site/trunk/docs/v2/sdk/INKAssert.html incubator/trafficserver/site/trunk/docs/v2/sdk/INKMgmtIntGet.html incubator/trafficserver/site/trunk/docs/v2/sdk/INKPluginDirGet.html incubator/trafficserver/site/trunk/docs/v2/sdk/INKTextLogObjectWrite.html incubator/trafficserver/site/trunk/docs/v2/sdk/IOGuide.html incubator/trafficserver/site/trunk/docs/v2/sdk/MIMEHeaders.html incubator/trafficserver/site/trunk/docs/v2/sdk/MimeHeadersFunctions.html incubator/trafficserver/site/trunk/docs/v2/sdk/NewProtocolPlugins.html incubator/trafficserver/site/trunk/docs/v2/sdk/PluginConfigurations.html incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html incubator/trafficserver/site/trunk/docs/v2/sdk/SampleNullTransformPlugin.html incubator/trafficserver/site/trunk/docs/v2/sdk/SettingUpTransacHook.html incubator/trafficserver/site/trunk/docs/v2/sdk/Trouble_DebugTags.html incubator/trafficserver/site/trunk/docs/v2/sdk/URLs.html incubator/trafficserver/site/trunk/docs/v2/sdk/WorkWithHTTPHeaders.html incubator/trafficserver/site/trunk/docs/v2/sdk/WritingHandlerFunctions.html Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/ActionsGuide.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/ActionsGuide.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/ActionsGuide.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/ActionsGuide.html Tue Apr 6 17:25:51 2010 @@ -56,7 +56,7 @@ function. It is not safe to modify or examine the continuation's data since the continuation may have already been destroyed.</p> <p>Below is an example of typical usage for an action:</p> -<pre class="programlisting">#include âInkAPI.hâ +<pre class="programlisting">#include "InkAPI.h" static int handler (INKCont contp, INKEvent event, void *edata) { @@ -111,7 +111,7 @@ INKPluginInit (int argc, const char *arg schedule itself to get called back in 30 seconds and then initiate the net connection. If the time-out expires first, then the plugin would cancel the action. The following sample code implements this:</p> -<pre class="programlisting">#include âInkAPI.hâ +<pre class="programlisting">#include "InkAPI.h" static int handler (INKCont contp, INKEvent event, void *edata) { Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/AddingHooks.html Tue Apr 6 17:25:51 2010 @@ -127,13 +127,13 @@ <tr> <td rowspan="1" colspan="1"><code>INK_HTTP_REQUEST_TRANSFORM_HOOK</code></td> - <td rowspan="1" colspan="1">See<a href="HTTPTransformationPlugins.html#Transformations" title="Transformations">âTransformationsâ</a> for information about + <td rowspan="1" colspan="1">See<a href="HTTPTransformationPlugins.html#Transformations" title="Transformations">"Transformations"</a> for information about transformation hooks.</td> </tr> <tr> <td rowspan="1" colspan="1"><code>INK_HTTP_RESPONSE_TRANSFORM_HOOK</code></td> - <td rowspan="1" colspan="1">See â<a href="HTTPTransformationPlugins.html#Transformations" title="Transformations">âTransformationsâ</a> for information about + <td rowspan="1" colspan="1">See "<a href="HTTPTransformationPlugins.html#Transformations" title="Transformations">"Transformations"</a> for information about transformation hooks.</td> </tr> <tr> @@ -152,7 +152,7 @@ <tr> <td rowspan="1" colspan="1"><code>INK_HTTP_SELECT_ALT_HOOK</code></td> - <td rowspan="1" colspan="1">See <a href="HTTPAlternateSelection.html" title="HTTP Alternate Selection">âHTTP Alternate Selectionâ</a> for information + <td rowspan="1" colspan="1">See <a href="HTTPAlternateSelection.html" title="HTTP Alternate Selection">"HTTP Alternate Selection"</a> for information about the alternate selection mechanism.</td> </tr> <tr> @@ -172,7 +172,7 @@ <tr> <td rowspan="1" colspan="1"><code>INK_HTTP_CACHE_LOOKUP_COMPLETE_HOOK</code></td> - <td rowspan="1" colspan="1">Called after the HTTP state machine has commpleted the cache + <td rowspan="1" colspan="1">Called after the HTTP state machine has completed the cache lookup for the document requested in the ongoing transaction. Register this hook via <code class="code">INKHttpTxnHookAdd</code> or <code class="code">INKHttpHookAdd</code>. Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/AddingStatistics.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/AddingStatistics.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/AddingStatistics.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/AddingStatistics.html Tue Apr 6 17:25:51 2010 @@ -48,9 +48,9 @@ <p>In <code class="function">INKPluginInit</code>, create new statistics using <code class="function">INKStatCreate</code>.</p> <p>When you create a new statistic, you need to give it an - âexternalâ name that the Traffic Server command line interface + "external" name that the Traffic Server command line interface (Traffic Line) uses to access the statistic. For example:</p> -<pre class="programlisting">my_statistic = INKStatCreate (âmy.statisticâ, INKSTAT_TYPE_INT64);</pre> +<pre class="programlisting">my_statistic = INKStatCreate ("my.statistic", INKSTAT_TYPE_INT64);</pre> </li> <li><p>Modify (increment, decrement, or other modification) your statistic in plugin functions.</p></li> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/BlacklistPlugin.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/BlacklistPlugin.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/BlacklistPlugin.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/BlacklistPlugin.html Tue Apr 6 17:25:51 2010 @@ -19,7 +19,7 @@ client requests a blacklisted site, then the plugin returns an <code class="code">Access forbidden</code> message to the client. </p> <p>The flow of HTTP - processing with the blacklist plugin is illustrated in the figure titled <a href="CreatingTSPlugins.html#Fig_BlacklistPlugin" title="Figure 2.5. Blacklist Plugin"> âBlacklist Pluginâ</a>. This example also contains a + processing with the blacklist plugin is illustrated in the figure titled <a href="CreatingTSPlugins.html#Fig_BlacklistPlugin" title="Figure 2.5. Blacklist Plugin"> "Blacklist Plugin"</a>. This example also contains a simple configuration management interface. It can read a list of blacklisted sites from a file (<code class="filename">blacklist.txt</code>) that can be updated by a Traffic Server administrator. When the configuration Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/CoupledStatistics.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/CoupledStatistics.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/CoupledStatistics.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/CoupledStatistics.html Tue Apr 6 17:25:51 2010 @@ -55,7 +55,7 @@ <p>In <code class="code">INKPluginInit</code>, create new global coupled statistics using <code class="code">INKStatCoupledGlobalAdd</code>.</p> <p>When you create a new statistic, you need to give it an - âexternalâ name that the Traffic Server command line interface + "external" name that the Traffic Server command line interface (Traffic Line) uses to access the statistic.</p> </li> <li> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/CreatingTSPlugins.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/CreatingTSPlugins.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/CreatingTSPlugins.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/CreatingTSPlugins.html Tue Apr 6 17:25:51 2010 @@ -32,7 +32,7 @@ <li> <p>The asynchronous event mode. This is the design paradigm used throughout Traffic Server; plugins must also follow this design. It - includes the callback mechanism for Traffic Server to âwake upâ your + includes the callback mechanism for Traffic Server to "wake up" your plugin and put it to work.</p></li> <li> <p>Traffic Server's HTTP processing, with an overview of the HTTP state @@ -110,7 +110,7 @@ connections and then creates transaction state machines to handle each protocol transaction.</p> <p>When you write plugins, there are several ways to send events to - continuations. For HTTP plugins, there is a âhookâ mechanism that + continuations. For HTTP plugins, there is a "hook" mechanism that enables the Traffic Server HTTP state machine to send your plugin wakeup calls when needed. Additionally, several Traffic Server API functions trigger Traffic Server sub-processes to send events to plugins: @@ -159,7 +159,7 @@ opens a connection to the origin server and requests the content. The figure above, <a href="CreatingTSPlugins.html#Fig_HTTPTransaction" title="Figure 2.3. Simplified HTTP Transaction">Simplified HTTP Transaction</a>, does <span class="emphasis"><em>not</em></span> show behavior in the event of an error. If there is an error at a any - stage, then the HTTP state machine jumps to the âsend reply headerâ + stage, then the HTTP state machine jumps to the "send reply header" state and sends a reply. If the reply is an error, then the transaction closes. If the reply is not an error, then Traffic Server first sends the response content before it closes the @@ -171,7 +171,7 @@ </div> <p>You use hooks as triggers to start your plugin. The name of a hook reflects the Traffic Server state that was <span class="emphasis"><em>just - completed</em></span>. For example, the âOS DNS lookupâ hook + completed</em></span>. For example, the "OS DNS lookup" hook wakes up a plugin right <span class="emphasis"><em>after</em></span> the origin server DNS lookup. For a plugin that requires the IP address of the requested origin server, this hook is the right one to use. The @@ -185,18 +185,18 @@ against a list of blacklisted servers; if the request is allowed, then the transaction proceeds. If the host is forbidden, then the Blacklist plugin sends the transaction into an error state. When the - HTTP state machine gets to the âsend reply headerâ state, it then + HTTP state machine gets to the "send reply header" state, it then calls the Blacklist plugin to provide the error message that's sent to the client.</p> </div> <div class="section" lang="en"> <div class="titlepage"><div><div><h4 class="title"> <a name="TypesOfHooks"></a>Types of Hooks</h4></div></div></div> -<p>The Blacklist plugin's hook to the âorigin server DNS lookupâ +<p>The Blacklist plugin's hook to the "origin server DNS lookup" state is a <em class="glossterm"><em class="glossterm"><span class="bold"><strong>global hook</strong></span></em></em>, meaning that the plugin is called <i>every time</i> there's an HTTP transaction with a - DNS lookup event. The plugin's hook to the âsend reply headerâ state + DNS lookup event. The plugin's hook to the "send reply header" state is a <span class="bold"><strong>tr</strong></span><em class="glossterm"><span class="bold"><strong>ansaction hook</strong></span></em>, meaning that this hook is only invoked for <i>specified transactions</i> (in the Blacklist example, Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/DebuggingFunctions.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/DebuggingFunctions.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/DebuggingFunctions.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/DebuggingFunctions.html Tue Apr 6 17:25:51 2010 @@ -66,9 +66,9 @@ proxy.config.diags.debug.tags STRING deb </dd> <dt><span class="term"><b>Example</b></span></dt> <dd> -<p><code class="code">INKDebug ("my-plugin", âStarting my-plugin at %d\nâ, +<p><code class="code">INKDebug ("my-plugin", "Starting my-plugin at %d\n", the_time);</code></p> -<p>The statement <code>âStarting my-plugin at <em class="replaceable"><time></em>â </code>appears whenever you +<p>The statement <code>"Starting my-plugin at <em class="replaceable"><time></em>" </code>appears whenever you run Traffic Server with the <code>my-plugin</code> tag:</p> <pre class="programlisting">traffic_server -Tmy-plugin</pre> </dd> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPAlternateSelection.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPAlternateSelection.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPAlternateSelection.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPAlternateSelection.html Tue Apr 6 17:25:51 2010 @@ -24,7 +24,7 @@ <p>The alternate selection mechanism is invoked when Traffic Server looks up a URL in its cache. For each URL, Traffic Server stores a vector of alternates. For each alternate in this vector, Traffic Server - computes a quality value between 0 and 1 that represents how âgoodâ the alternate + computes a quality value between 0 and 1 that represents how "good" the alternate is. A quality value of 0 means that the alternate is unacceptable; a value of 1 means that the alternate is a perfect match.</p> <p>If a plugin hooks onto <code class="code">theINK_HTTP_SELECT_ALT_HOOK</code>, then it Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHooksAndTransactions.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHooksAndTransactions.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHooksAndTransactions.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHooksAndTransactions.html Tue Apr 6 17:25:51 2010 @@ -15,7 +15,7 @@ <a name="HTTPHooksAndTransactions"></a>Chapter 8. HTTP Hooks and Transactions</h2></div></div></div> <p>Hooks are points in Traffic Server transaction processing where plugins can step in and do some work. Registering a plugin function for - callback amounts to âaddingâ the function to a hook. You can register your + callback amounts to "adding" the function to a hook. You can register your plugin to be called back for every single transaction or only for specific transactions.</p> <p>This chapter contains the following sections:</p> @@ -50,7 +50,7 @@ <p>The two <i>t</i><b>ransform hooks</b>, <code class="code">INK_HTTP_REQUEST_TRANSFORM_HOOK</code> and <code class="code">INK_HTTP_RESPONSE_TRANSFORM_HOOK</code>, are called in the course of an HTTP transform. To see where in the HTTP transaction - they are called, look for the âset up transformâ ovals in the <a href="HTTPHooksAndTransactions.html#Fig_HHTTPTxStateDiag" title="Figure 8.1. HTTP Transaction State Diagram">HTTP Transaction State Diagram</a> below.</p></dd> + they are called, look for the "set up transform" ovals in the <a href="HTTPHooksAndTransactions.html#Fig_HHTTPTxStateDiag" title="Figure 8.1. HTTP Transaction State Diagram">HTTP Transaction State Diagram</a> below.</p></dd> <dt><span class="term"><b><u>HTTP session</u></b></span></dt> <dd> <p>A <b>session</b> consists of a single client connection to Traffic Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html Tue Apr 6 17:25:51 2010 @@ -449,7 +449,7 @@ <code class="code"><em class="replaceable"><code>mimetype </code></em></code> should be "<code class="code">text/html</code>". If the error body is a JPEG image, then <code class="code"><em class="replaceable"><code>mimetype </code></em></code> should - be â<code>image/jpeg</code>".</p> + be "<code>image/jpeg</code>".</p> <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/docbook/note.png" /></td> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/INKAssert.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/INKAssert.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/INKAssert.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/INKAssert.html Tue Apr 6 17:25:51 2010 @@ -31,7 +31,7 @@ permits:</p> <pre class="programlisting">ink_assert(!setsockopt(...)); </pre> -<p><b>Note:</b> when using the system âassertâ, you do not need +<p><b>Note:</b> when using the system "assert", you do not need to worry about the condition since the code will be 'dead code eliminated' by the compiler; with <code class="code">INKAssert</code>, you do.</p> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/INKMgmtIntGet.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/INKMgmtIntGet.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/INKMgmtIntGet.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/INKMgmtIntGet.html Tue Apr 6 17:25:51 2010 @@ -37,12 +37,12 @@ <p>The following code fragment does something if keepalive is enabled on Traffic Server:</p> <pre class="programlisting">INKMgmtInt result; - if (INKMgmtIntGet(âproxy.config.http.keep_alive_enabledâ, &result)) { + if (INKMgmtIntGet("proxy.config.http.keep_alive_enabled", &result)) { if (result){ // keepalive is enabled, do something } } -else INKError (âcould not retrieve value\nâ);</pre> +else INKError ("could not retrieve value\n");</pre> </dd> <dt> </dt> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/INKPluginDirGet.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/INKPluginDirGet.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/INKPluginDirGet.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/INKPluginDirGet.html Tue Apr 6 17:25:51 2010 @@ -30,7 +30,7 @@ <p>To open the file <code class="filename">Blacklist/ui/blacklist_config.txt</code>, use the following:</p> -<pre class="programlisting">INKfopen (âINKInstallDirGet()/INKPluginDirGet()/Blacklist/ui/blacklist_config.txtâ);</pre> +<pre class="programlisting">INKfopen ("INKInstallDirGet()/INKPluginDirGet()/Blacklist/ui/blacklist_config.txt");</pre> </dd> <dt> </dt> <dt><span class="term"><b>Returns</b></span></dt> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/INKTextLogObjectWrite.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/INKTextLogObjectWrite.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/INKTextLogObjectWrite.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/INKTextLogObjectWrite.html Tue Apr 6 17:25:51 2010 @@ -35,7 +35,7 @@ <dd> <p>Suppose you call the following:</p> <pre class="programlisting">int my_value = 2001; -INKTextLogObjectWrite (log, âmy value: %dâ, my_value);</pre> +INKTextLogObjectWrite (log, "my value: %d", my_value);</pre> <p>If <code class="replaceable"><i>mode </i></code> is set to <code class="code">ADD_TIMESTAMP</code>, then the log should look like:</p> <pre class="programlisting"><timestamp> my value: 2001 </pre> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/IOGuide.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/IOGuide.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/IOGuide.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/IOGuide.html Tue Apr 6 17:25:51 2010 @@ -93,7 +93,7 @@ <code class="function">INKVConnWrite</code>:</p> <pre class="programlisting">INKVIO INKVConnWrite (INKVConn connp, INKCont contp, INKIOBufferReader readerp, int nbytes)</pre> <p>The <code class="varname">connp</code> is the vconnection the - user is writing to and <code class="varname">contp</code> is the âuserâ â i.e., + user is writing to and <code class="varname">contp</code> is the "user" â i.e., the continuation that <code>connp</code> calls back when it has emptied its buffer and is ready for more data.</p> <p>The call made in the null transform plugin is:</p> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/MIMEHeaders.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/MIMEHeaders.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/MIMEHeaders.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/MIMEHeaders.html Tue Apr 6 17:25:51 2010 @@ -87,7 +87,7 @@ field-value = *token </tr> <tr> <td><code>INK_MIME_FIELD_ACCEPT_CHARSET</code></td> -<td>âAccept-Charset"</td> +<td>"Accept-Charset"</td> <td><code>INK_MIME_LEN_ACCEPT_CHARSET</code></td> </tr> <tr> @@ -117,7 +117,7 @@ field-value = *token </tr> <tr> <td><code>INK_MIME_FIELD_APPROVED</code></td> -<td>âApproved"</td> +<td>"Approved"</td> <td><code>INK_MIME_LEN_APPROVED</code></td> </tr> <tr> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/MimeHeadersFunctions.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/MimeHeadersFunctions.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/MimeHeadersFunctions.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/MimeHeadersFunctions.html Tue Apr 6 17:25:51 2010 @@ -836,8 +836,8 @@ value2</code>, <code class="code">value3</code>. If <code class="function">INKMimeHdrFieldGet</code> is called with <code class="code"><em class="replaceable"><code>idx </code></em></code> set to -1, then it will - return a pointer to â<code class="code">value1</code>, <code class="code">value2</code>, - <code class="code">value3</code>â.</p> + return a pointer to "<code class="code">value1</code>, <code class="code">value2</code>, + <code class="code">value3</code>".</p> <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"> <tr> <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="images/docbook/note.png" /></td> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/NewProtocolPlugins.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/NewProtocolPlugins.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/NewProtocolPlugins.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/NewProtocolPlugins.html Tue Apr 6 17:25:51 2010 @@ -81,7 +81,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="ContinuationsInProtocolPlugin"></a>Continuations in the Protocol Plugin</h3></div></div></div> <p>The Protocol plugin creates a static continuation that is an - <i>â</i><b>acceptâ state machine</b> - that is, a state machine whose job is to accept client + <i>"</i><b>accept" state machine</b> - that is, a state machine whose job is to accept client connections on the appropriate port. When Traffic Server accepts a net connection from a client on that port, the accept state machine is activated. It then creates a new continuation: a transaction state Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/PluginConfigurations.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/PluginConfigurations.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/PluginConfigurations.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/PluginConfigurations.html Tue Apr 6 17:25:51 2010 @@ -23,7 +23,7 @@ within a plugin.</p> <p>The functions discussed in this section do not examine or modify Traffic Server configuration variables. To examine Traffic Server - configuration and statistics variables, see <a href="ReadTESettingStats.html" title="Reading Traffic Server Settings and Statistics">âReading Traffic Server Settings and Statisticsâ</a>.</p> + configuration and statistics variables, see <a href="ReadTESettingStats.html" title="Reading Traffic Server Settings and Statistics">"Reading Traffic Server Settings and Statistics"</a>.</p> <p>The <code class="function">INKConfig</code> family of functions is designed to provide a fast and efficient mechanism for accessing and changing global configuration information within a plugin. Such a mechanism is Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html Tue Apr 6 17:25:51 2010 @@ -49,7 +49,7 @@ received directly from an origin server need to be transformed. Objects served from the cache are already transformed. To determine whether the response is from the origin server, the routine transformable - checks the response header for the â200 OKâ server response.</p> + checks the response header for the "200 OK" server response.</p> <pre class="programlisting">{ INKMBuffer bufp; INKMLoc hdr_loc; Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/SampleNullTransformPlugin.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/SampleNullTransformPlugin.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/SampleNullTransformPlugin.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/SampleNullTransformPlugin.html Tue Apr 6 17:25:51 2010 @@ -46,8 +46,8 @@ received directly from an origin server need to be transformed. Objects served from cache are already transformed. To determine whether the response is from the origin server, the routine - <code class="code">transformable</code> checks the response header for the â200 - OKâ server response.</p> + <code class="code">transformable</code> checks the response header for the "200 + OK" server response.</p> <pre class="programlisting">static int transformable (INKHttpTxn txnp) { INKMBuffer bufp; Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/SettingUpTransacHook.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/SettingUpTransacHook.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/SettingUpTransacHook.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/SettingUpTransacHook.html Tue Apr 6 17:25:51 2010 @@ -16,7 +16,7 @@ <p>The Blacklist plugin sends "access forbidden" messages to clients if their requests are directed to blacklisted hosts. Therefore, the plugin needs a transaction hook so it will be called back when - Traffic Server's HTTP state machine reaches the âsend response headerâ + Traffic Server's HTTP state machine reaches the "send response header" event. In the Blacklist plugin's <code class="code">handle_dns</code> routine, the transaction hook is added as follows:</p> <pre class="programlisting">INKMutexLock (sites_mutex); @@ -47,7 +47,7 @@ for (i = 0; i < nsites; i++) { <li> <p>A transaction hook is added with <code class="code">INKHttpTxnHookAdd</code>; the plugin is called back - at the âsend response headerâ event (i.e., the plugin sends an <code>Access + at the "send response header" event (i.e., the plugin sends an <code>Access forbidden</code> message to the client). You can see that in order to add a transaction hook, you need a handle to the transaction being processed.</p></li> @@ -56,7 +56,7 @@ for (i = 0; i < nsites; i++) { <code class="code">INKHttpTxnReenable</code> with <code class="code">INK_EVENT_HTTP_ERROR</code> as its event argument. Reenabling with an error event tells the HTTP state machine to - stop the transaction and jump to the âsend response headerâ state. + stop the transaction and jump to the "send response header" state. Notice that if the requested site is not blacklisted, then the transaction is reenabled with the <code class="code">INK_EVENT_HTTP_CONTINUE</code> event.</p></li> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/Trouble_DebugTags.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/Trouble_DebugTags.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/Trouble_DebugTags.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/Trouble_DebugTags.html Tue Apr 6 17:25:51 2010 @@ -28,7 +28,7 @@ -Ttag</code> option. For example, if the tag is <code class="option">my-plugin</code>, then the debug output goes to <code class="filename">traffic.out.</code>See below:</p> -<pre class="programlisting">traffic_server -Tâmy-pluginâ +<pre class="programlisting">traffic_server -T"my-plugin" </pre> <p>Set the following variables in <code class="filename">records.config</code> (in the Traffic Server @@ -38,10 +38,10 @@ proxy.config.diags.debug.tags STRING <em <p>In this case, debug output goes to <code class="filename">traffic.out</code>.</p> <p>Example:</p> -<pre class="programlisting">INKDebug ("my-plugin", âStarting my-plugin at %d\nâ, the_time);</pre> -<p>The statement <code>âStarting my-plugin at <time>â</code> appears +<pre class="programlisting">INKDebug ("my-plugin", "Starting my-plugin at %d\n", the_time);</pre> +<p>The statement <code>"Starting my-plugin at <time>"</code> appears whenever you run Traffic Server with the <code>my-plugin</code> tag:</p> -<pre class="programlisting">traffic_server -Tâmy-pluginâ</pre> +<pre class="programlisting">traffic_server -T"my-plugin"</pre> <div class="section" lang="en"> <div class="titlepage"><div><div><h3 class="title"> <a name="Trouble_OtherDebugTags"></a>Other Useful Internal Debug Tags</h3></div></div></div> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/URLs.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/URLs.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/URLs.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/URLs.html Tue Apr 6 17:25:51 2010 @@ -47,57 +47,57 @@ </tr> <tr> <td><code>INK_URL_SCHEME_FILE</code></td> -<td>âfileâ</td> +<td>"file"</td> <td><code>INK_URL_LEN_FILE</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_FTP</code></td> -<td>âftpâ</td> +<td>"ftp"</td> <td><code>INK_URL_LEN_FTP</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_GOPHER</code></td> -<td>âgopherâ</td> +<td>"gopher"</td> <td><code>INK_URL_LEN_GOPHER</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_HTTP</code></td> -<td>âhttpâ</td> +<td>"http"</td> <td><code>INK_URL_LEN_HTTP</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_HTTPS</code></td> -<td>âhttpsâ</td> +<td>"https"</td> <td><code>INK_URL_LEN_HTTPS</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_MAILTO</code></td> -<td>âmailtoâ</td> +<td>"mailto"</td> <td><code>INK_URL_LEN_MAILTO</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_NEWS</code></td> -<td>ânewsâ</td> +<td>"news"</td> <td><code>INK_URL_LEN_NEWS</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_NNTP</code></td> -<td>ânntpâ</td> +<td>"nntp"</td> <td><code>INK_URL_LEN_NNTP</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_PROSPERO</code></td> -<td>âprosperoâ</td> +<td>"prospero"</td> <td><code>INK_URL_LEN_PROSPERO</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_TELNET</code></td> -<td>âtelnetâ</td> +<td>"telnet"</td> <td><code>INK_URL_LEN_TELNET</code></td> </tr> <tr> <td><code>INK_URL_SCHEME_WAIS</code></td> -<td>âwaisâ</td> +<td>"wais"</td> <td><code>INK_URL_LEN_WAIS</code></td> </tr> </tbody> Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/WorkWithHTTPHeaders.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/WorkWithHTTPHeaders.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/WorkWithHTTPHeaders.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/WorkWithHTTPHeaders.html Tue Apr 6 17:25:51 2010 @@ -36,7 +36,7 @@ field_loc = INKMimeHdrFieldFind (bufp, hdr_loc, INK_MIME_FIELD_PROXY_AUTHORIZATION);</pre> <p>If the <code class="code">Proxy-Authorization</code> field is present, then the - plugin checks that the authentication type is âBasicâ, and the user + plugin checks that the authentication type is "Basic", and the user name and password are present and valid:</p> <pre class="programlisting">val = INKMimeHdrFieldValueStringGet (bufp, hdr_loc, field_loc, 0, &authval_length); if (!val) { Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/WritingHandlerFunctions.html URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/WritingHandlerFunctions.html?rev=931236&r1=931235&r2=931236&view=diff ============================================================================== --- incubator/trafficserver/site/trunk/docs/v2/sdk/WritingHandlerFunctions.html (original) +++ incubator/trafficserver/site/trunk/docs/v2/sdk/WritingHandlerFunctions.html Tue Apr 6 17:25:51 2010 @@ -51,7 +51,7 @@ <th align="left">Caution</th> </tr> <tr><td align="left" valign="top"><p>You might notice that a continuation cannot determine if more - events are âin flightâ toward it. Do not use + events are "in flight" toward it. Do not use <code class="function">INKContDestroy</code> to delete a continuation before you make sure that all incoming events, such as those sent because of <code class="function">INKHttpTxnHookAdd</code>, have been handled.</p></td></tr>