Maybe I'm a little closer to an explanation: the
first tries to read 4096 bytes from the given stream, then checks
in.available() to decide if there is more to write to a temp file.
This is wrong, because only returns a
guess if there are more bytes available. Here, the given InputStream
ist a that returns 0 after the first chunk
even if more chunks with more bytes are available. The
readDataSourceMethod must continue reading until EOF.

I'll add an issue to the bug tracker:

Regards, Jay

What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters.
Resteasy-users mailing list

Reply via email to