Re: RIAP cannot handle binary streams
Anybody? I sometimes think I'm the only Restlet user who pushes RIAP to these extremes... :) On Sun, Nov 21, 2010 at 11:24 PM, Tal Liron tal.li...@threecrickets.comwrote: I have an representation that writes binary data. It works fine in HTTP, but in RIAP I get this exception when I try to exhaust the stream (Restlet 2.0.2): java.io.IOException: Timeout while reading from the queue-based input stream at org.restlet.engine.io.PipeStream$1.read(PipeStream.java:78) at java.io.InputStream.read(InputStream.java:171) at java.io.InputStream.read(InputStream.java:102) at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:220) at org.restlet.representation.Representation.exhaust(Representation.java:322) Is this a bug, or am I doing something unsupported? -Tal -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2688559
Re: RIAP cannot handle binary streams
I'll try it. On Tue, Dec 7, 2010 at 3:30 PM, Tal Liron tal.li...@threecrickets.comwrote: Anybody? I sometimes think I'm the only Restlet user who pushes RIAP to these extremes... :) On Sun, Nov 21, 2010 at 11:24 PM, Tal Liron tal.li...@threecrickets.comwrote: I have an representation that writes binary data. It works fine in HTTP, but in RIAP I get this exception when I try to exhaust the stream (Restlet 2.0.2): java.io.IOException: Timeout while reading from the queue-based input stream at org.restlet.engine.io.PipeStream$1.read(PipeStream.java:78) at java.io.InputStream.read(InputStream.java:171) at java.io.InputStream.read(InputStream.java:102) at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:220) at org.restlet.representation.Representation.exhaust(Representation.java:322) Is this a bug, or am I doing something unsupported? -Tal -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2688560
RIAP cannot handle binary streams
I have an representation that writes binary data. It works fine in HTTP, but in RIAP I get this exception when I try to exhaust the stream (Restlet 2.0.2): java.io.IOException: Timeout while reading from the queue-based input stream at org.restlet.engine.io.PipeStream$1.read(PipeStream.java:78) at java.io.InputStream.read(InputStream.java:171) at java.io.InputStream.read(InputStream.java:102) at org.restlet.engine.io.BioUtils.exhaust(BioUtils.java:220) at org.restlet.representation.Representation.exhaust(Representation.java:322) Is this a bug, or am I doing something unsupported? -Tal -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2684217