mturk 2004/08/02 09:36:29 Modified: ajp/ajplib/test testajp.c Log: Use the parse_data for received body message. Revision Changes Path 1.12 +2 -6 jakarta-tomcat-connectors/ajp/ajplib/test/testajp.c Index: testajp.c =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/ajp/ajplib/test/testajp.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- testajp.c 30 Jul 2004 19:57:47 -0000 1.11 +++ testajp.c 2 Aug 2004 16:36:28 -0000 1.12 @@ -256,12 +256,8 @@ ajp_msg_dump(msg, ""); #endif { - /* XXX we will need a function for this */ - apr_byte_t t; - /* Get Type */ - ajp_msg_get_byte(msg, &t); - fprintf(stdout, "Message Len Type %d should be (SC_BODY_CHUNK 3)\n", t); - ajp_msg_get_string(msg, &buf); + apr_uint16_t blen; + ajp_parse_data(r, msg, &blen, &buf); fputs(buf, stdout); } /* 6. Release the connection */
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]