Closed GoogleCodeExporter closed 9 years ago
EofException could be used (lemme think more about this).
Btw, are you using a single connection for multiple requests
(multiplexing/pipelining)?
PS Im travelling atm ... replies will take longer than usual.
Original comment by david.yu...@gmail.com
on 12 Apr 2011 at 6:52
Currently I'm using thread-per-connection model. For my current project that's
what I need. But since my little RPC is pluggable, in the next one I plan to
add components to use Netty. But that won't be soon ;)
>PS Im travelling atm ... replies will take longer than usual.
No problem. That's no hurry.
Original comment by Vladisla...@gmail.com
on 12 Apr 2011 at 8:21
I only wanted to outline that when EOF is detected before reading first byte of
object from stream, it's one situation. But when the same EOF is detected in
the middle of the object reading from stream - it's completely another one.
The first one is actually more or less legitimate (depending on software), but
the second one is a definite error in almost all cases. So users should have a
chance to handle those two differently, I think.
Original comment by Vladisla...@gmail.com
on 12 Apr 2011 at 9:59
Now that I'm back I'll try to iron these issues out as soon as I can.
I'm currently working on improving streaming support w/c can work very well
with vanilla jrapidrpc. More details to come once its ready.
Original comment by david.yu...@gmail.com
on 27 Jun 2011 at 2:16
Thanks, David ;)
Original comment by Vladisla...@gmail.com
on 27 Jun 2011 at 2:26
Fixed at rev 1334.
// exception thrown will be:
throw new EOFException("mergeDelimitedFrom");
Cheers
Original comment by david.yu...@gmail.com
on 7 Jul 2011 at 9:35
Original issue reported on code.google.com by
Vladisla...@gmail.com
on 10 Apr 2011 at 5:33