openamf/src/java/org/openamf DefaultGateway.java,1.33,1.34

[email protected]
Newsgroups gmane.comp.java.openamf.cvs
Message-ID <[email protected]>
Update of /cvsroot/openamf/openamf/src/java/org/openamf
In directory sc8-pr-cvs1:/tmp/cvs-serv3670

Modified Files:
	DefaultGateway.java 
Log Message:
flush() the ServletOutputStream

Index: DefaultGateway.java
===================================================================
RCS file: /cvsroot/openamf/openamf/src/java/org/openamf/DefaultGateway.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** DefaultGateway.java	24 Jul 2003 18:34:26 -0000	1.33
--- DefaultGateway.java	3 Aug 2003 19:38:04 -0000	1.34
***************
*** 10,13 ****
--- 10,14 ----
  
  import javax.servlet.ServletException;
+ import javax.servlet.ServletOutputStream;
  import javax.servlet.http.HttpServlet;
  import javax.servlet.http.HttpServletRequest;
***************
*** 149,154 ****
  		httpServletResponse.setContentType("application/x-amf");
  		httpServletResponse.setContentLength(baOutputStream.size());
! 		baOutputStream.writeTo(httpServletResponse.getOutputStream());
! 		outputStream.flush();
  	}
  
--- 150,157 ----
  		httpServletResponse.setContentType("application/x-amf");
  		httpServletResponse.setContentLength(baOutputStream.size());
! 
! 		ServletOutputStream sos = httpServletResponse.getOutputStream();
! 		baOutputStream.writeTo(sos);
! 		sos.flush();
  	}
  




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.