-
Bug
-
Resolution: Done
-
Major
-
3.1.0.Beta2
-
None
If a client sends a java.io.Writer and the org.jboss.remoting3.RequestListener writes a short message to it and flushes, the message isn't available on the client side. org.jboss.remoting3.stream.WriterOutputStream.write() won't call doFlush() until the ByteBuffer is full. So the RequestHandler has to close the writer, and then WriterOutputStream.close() will call doFlush().
WriterOutputStream.write() should be flushing. Also, the behavior should be consistent with OutputStream.