trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dia...@apache.org
Subject svn commit: r930101 - in /incubator/trafficserver/site/trunk/docs/v2/sdk: HTTPHeaderFunctions.html HTTPTransactionFunctions.html SampleBufferedNullTransformPlugin.html
Date Thu, 01 Apr 2010 21:21:38 GMT
Author: dianes
Date: Thu Apr  1 21:21:38 2010
New Revision: 930101

URL: http://svn.apache.org/viewvc?rev=930101&view=rev
Log:
Edits, ToCs, etc.

Modified:
    incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHeaderFunctions.html
    incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html
    incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html

Modified: incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHeaderFunctions.html
URL: http://svn.apache.org/viewvc/incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHeaderFunctions.html?rev=930101&r1=930100&r2=930101&view=diff
==============================================================================
--- incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHeaderFunctions.html (original)
+++ incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPHeaderFunctions.html Thu Apr  1 21:21:38
2010
@@ -447,7 +447,8 @@
 <dd>
 <p>Values of <code class="function">INKHttpStatus</code> are the
                 following:</p>
-<pre class="programlisting">typedef enum
+<pre class="programlisting">
+typedef enum
 {
     INK_HTTP_STATUS_NONE                          = 0,
 

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=930101&r1=930100&r2=930101&view=diff
==============================================================================
--- incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html (original)
+++ incubator/trafficserver/site/trunk/docs/v2/sdk/HTTPTransactionFunctions.html Thu Apr 
1 21:21:38 2010
@@ -644,9 +644,13 @@
     
   <dt><span class="term"><b>Example</b></span></dt>
   <dd>
-    <p>if (INKHttpTxnPristineUrlGet(txnp, &amp;bufp, &amp;url_loc) == INK_SUCCESS)</p>
-    {                 value = INKUrlHostGet(bufp, url_loc, &amp;len);               
 INKDebug (DEBUG_TAG, "Pristine Host: %s", value);                  INKHandleMLocRelease (bufp,
INK_NULL_MLOC, url_loc);             }
-    <p> else {                 INKError ("INKHttpTxnPristineUrlGet returns 0.\n");
            }</p>
+   
+   
+    <pre class="programlisting">
+    if (INKHttpTxnPristineUrlGet(txnp, &amp;bufp, &amp;url_loc) == INK_SUCCESS)</code></p>
+    <code>    {                 value = INKUrlHostGet(bufp, url_loc, &amp;len);
                INKDebug (DEBUG_TAG, "Pristine Host: %s", value);                  INKHandleMLocRelease
(bufp, INK_NULL_MLOC, url_loc);             }
+    </code>
+    <p><code> else {                 INKError ("INKHttpTxnPristineUrlGet returns
0.\n");             }</pre></p>
   </dd>
   <dd>&nbsp;
   </dd>

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=930101&r1=930100&r2=930101&view=diff
==============================================================================
--- incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html
(original)
+++ incubator/trafficserver/site/trunk/docs/v2/sdk/SampleBufferedNullTransformPlugin.html
Thu Apr  1 21:21:38 2010
@@ -44,8 +44,8 @@
           if (transformable (txnp)) {
           transform_add (txnp);}</pre>
 <p>The default behavior for transformations is to cache the
-          transformed content (you also can tell Traffic Server to cache
-          untransformed content, if you want). Therefore, only responses
+          transformed content (if desired, you also can tell Traffic Server to cache
+          untransformed content). Therefore, only responses
           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
@@ -141,8 +141,7 @@
           data is available, the upstream vconnection reenables the
           transformation with an <code class="code">IMMEDIATE</code> event.</p>
 <div class="figure">
-<a name="Fig_STATE_BUFFER_DATAState"></a><p class="title"><b>Figure 5.4. Reading
Data Into the Buffer (the STATE_BUFFER_DATA
-            State)</b></p>
+<a name="Fig_STATE_BUFFER_DATAState"></a><p class="title"><b>Figure 5.4. Reading
Data Into the Buffer (the <code>STATE_BUFFER_DATA</code> State)</b></p>
 <div class="mediaobject"><img src="images/vconn_buffer.jpg" alt="Reading Data Into
the Buffer (the STATE_BUFFER_DATA State)" /></div>
 </div>
 </li>
@@ -160,19 +159,19 @@ INKContCall (INKVIOContGet (write_vio),
   <p>The upstream vconnection will probably shut down the write
           operation when it receives the <code class="code">WRITE_COMPLETE</code>
event.
           The handler function of the transformation,
-          <code class="function">bnull_transform</code>, will receive an
-          <code class="code">IMMEDIATE</code> event and call the
+          <code class="function">bnull_transform</code>,  receives an
+          <code class="code">IMMEDIATE</code> event and calls the
           <code class="function">handle_transform</code> function. This time,
the state
           is <code class="code">STATE_OUTPUT_DATA</code>, so
           <code class="function">handle_transform</code> calls
-          <code class="function">handle_output</code>.</p></li>
+      <code class="function">handle_output</code>.</p></li>
 <li>
 <p>The <code class="function">handle_output</code> function gets a handle
           to the output vconnection:</p>
 <pre class="programlisting">output_conn = INKTransformOutputVConnGet (contp);</pre>
 </li>
 <li>
-<p>The handle_output function writes the buffer to the output
+<p>The <code>handle_output</code> function writes the buffer to the output
           vconnection:</p>
 <pre class="programlisting">data-&gt;output_vio =
 INKVConnWrite (output_conn, contp, data-&gt;output_reader,



Mime
View raw message