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 2010/10/28 05:45:50 UTC

svn commit: r1028172 - /trafficserver/traffic/trunk/example/null-transform/null-transform.c

Author: zwoop
Date: Thu Oct 28 03:45:50 2010
New Revision: 1028172

URL: http://svn.apache.org/viewvc?rev=1028172&view=rev
Log:
Added some better Debug statements, to help isolating a core bug

Modified:
    trafficserver/traffic/trunk/example/null-transform/null-transform.c

Modified: trafficserver/traffic/trunk/example/null-transform/null-transform.c
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/example/null-transform/null-transform.c?rev=1028172&r1=1028171&r2=1028172&view=diff
==============================================================================
--- trafficserver/traffic/trunk/example/null-transform/null-transform.c (original)
+++ trafficserver/traffic/trunk/example/null-transform/null-transform.c Thu Oct 28 03:45:50 2010
@@ -104,6 +104,7 @@ handle_transform(INKCont contp)
     data = my_data_alloc();
     data->output_buffer = INKIOBufferCreate();
     data->output_reader = INKIOBufferReaderAlloc(data->output_buffer);
+    INKDebug("null-transform", "\tWriting %d bytes on VConn", INKVIONBytesGet(input_vio));
     data->output_vio = INKVConnWrite(output_conn, contp, data->output_reader, INKVIONBytesGet(input_vio));
     if (INKContDataSet(contp, data) == INK_ERROR) {
       INKError("[null-transform] unable to set continuation " "data!\n");