You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sc...@apache.org on 2002/09/04 21:19:22 UTC

cvs commit: xml-axis/java/src/org/apache/axis/transport/http SimpleAxisWorker.java

scheu       2002/09/04 12:19:22

  Modified:    java/src/org/apache/axis/transport/http
                        SimpleAxisWorker.java
  Log:
  Small change to not print out the HEADER_CONTENT_LENGTH.
  Printing out the length causes the entire message to be decoded.
  
  Revision  Changes    Path
  1.17      +2 -1      xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisWorker.java
  
  Index: SimpleAxisWorker.java
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/transport/http/SimpleAxisWorker.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SimpleAxisWorker.java	28 Aug 2002 01:26:54 -0000	1.16
  +++ SimpleAxisWorker.java	4 Sep 2002 19:19:22 -0000	1.17
  @@ -451,7 +451,8 @@
               out.write(status);
               //out.write(XML_MIME_STUFF);
               out.write(("\r\n" + HTTPConstants.HEADER_CONTENT_TYPE + ": " + responseMsg.getContentType(msgContext.getSOAPConstants())).getBytes());
  -            out.write(("\r\n" + HTTPConstants.HEADER_CONTENT_LENGTH + ": " + responseMsg.getContentLength()).getBytes());
  +            // Writing the length causes the entire message to be decoded twice.
  +            //out.write(("\r\n" + HTTPConstants.HEADER_CONTENT_LENGTH + ": " + responseMsg.getContentLength()).getBytes());
               // putInt(out, response.length);
   
               if (server.isSessionUsed() && null != cooky && 0 != cooky.trim().length()) {